aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-03-01 14:50:52 +0100
committerThomas White <taw@physics.org>2013-03-01 14:50:52 +0100
commita2a5780aaef37122c9c9b6dfc14b218d0df61185 (patch)
treea499ab5017f0e2048b171f04faf3fa602581029a
parent5fa1c22d6bbeff12c2509e1222090a43a994f7a9 (diff)
Capitalise all warnings
-rw-r--r--libcrystfel/src/cell-utils.c12
-rw-r--r--libcrystfel/src/symmetry.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c
index ee51622b..9c580ee3 100644
--- a/libcrystfel/src/cell-utils.c
+++ b/libcrystfel/src/cell-utils.c
@@ -1158,33 +1158,33 @@ int validate_cell(UnitCell *cell)
char cen, ua;
if ( !cell_is_sensible(cell) ) {
- ERROR("Warning: Unit cell parameters are not sensible.\n");
+ ERROR("WARNING: Unit cell parameters are not sensible.\n");
err = 1;
}
if ( !bravais_lattice(cell) ) {
- ERROR("Warning: Unit cell is not a conventional Bravais"
+ ERROR("WARNING: Unit cell is not a conventional Bravais"
" lattice.\n");
err = 1;
}
if ( !right_handed(cell) ) {
- ERROR("Warning: Unit cell is not right handed.\n");
+ ERROR("WARNING: Unit cell is not right handed.\n");
err = 1;
}
cen = cell_get_centering(cell);
ua = cell_get_unique_axis(cell);
if ( (cen == 'A') && (ua != 'a') ) {
- ERROR("Warning: centering doesn't match unique axis.\n");
+ ERROR("WARNING: centering doesn't match unique axis.\n");
err = 1;
}
if ( (cen == 'B') && (ua != 'b') ) {
- ERROR("Warning: centering doesn't match unique axis.\n");
+ ERROR("WARNING: centering doesn't match unique axis.\n");
err = 1;
}
if ( (cen == 'C') && (ua != 'c') ) {
- ERROR("Warning: centering doesn't match unique axis.\n");
+ ERROR("WARNING: centering doesn't match unique axis.\n");
err = 1;
}
diff --git a/libcrystfel/src/symmetry.c b/libcrystfel/src/symmetry.c
index 3c2011d1..eb6a9dfb 100644
--- a/libcrystfel/src/symmetry.c
+++ b/libcrystfel/src/symmetry.c
@@ -325,7 +325,7 @@ static void transform_ops(SymOpList *s, IntegerMatrix *t)
det = intmat_det(t);
if ( det == -1 ) {
- ERROR("Warning: mirrored SymOpList.\n");
+ ERROR("WARNING: mirrored SymOpList.\n");
} else if ( det != 1 ) {
ERROR("Invalid transformation for SymOpList.\n");
return;