aboutsummaryrefslogtreecommitdiff
path: root/src/render_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-01-20 16:10:04 +0100
committerThomas White <taw@physics.org>2015-01-20 16:10:04 +0100
commit38f81ac432e313ed451eceb80c3f36ba6f1008e8 (patch)
treed354c0adc18e53fc935310fe4681e80d949a3ff1 /src/render_hkl.c
parent15931c364e2ee96bcd545b33ef5bc0db9e52341f (diff)
Add informational messages when symmetry doesn't match for monoclinic point groups
Diffstat (limited to 'src/render_hkl.c')
-rw-r--r--src/render_hkl.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/render_hkl.c b/src/render_hkl.c
index 9013cf01..f9398c3d 100644
--- a/src/render_hkl.c
+++ b/src/render_hkl.c
@@ -3,11 +3,11 @@
*
* Draw pretty renderings of reflection lists
*
- * Copyright © 2012-2014 Deutsches Elektronen-Synchrotron DESY,
+ * Copyright © 2012-2015 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
*
* Authors:
- * 2010-2014 Thomas White <taw@physics.org>
+ * 2010-2015 Thomas White <taw@physics.org>
*
* This file is part of CrystFEL.
*
@@ -1005,6 +1005,11 @@ int main(int argc, char *argv[])
if ( check_list_symmetry(list, sym) ) {
ERROR("The input reflection list does not appear to"
" have symmetry %s\n", symmetry_name(sym));
+ if ( cell_get_lattice_type(cell) == L_MONOCLINIC ) {
+ ERROR("You may need to specify the unique axis in your "
+ "point group. The default is unique axis c.\n");
+ ERROR("See 'man crystfel' for more details.\n");
+ }
return 1;
}