aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.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/partial_sim.c
parent15931c364e2ee96bcd545b33ef5bc0db9e52341f (diff)
Add informational messages when symmetry doesn't match for monoclinic point groups
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index b8914feb..c0d9aaaa 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -3,11 +3,11 @@
*
* Generate partials for testing scaling
*
- * Copyright © 2012-2014 Deutsches Elektronen-Synchrotron DESY,
+ * Copyright © 2012-2015 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
*
* Authors:
- * 2011-2014 Thomas White <taw@physics.org>
+ * 2011-2015 Thomas White <taw@physics.org>
* 2014 Valerio Mariani
*
* This file is part of CrystFEL.
@@ -728,6 +728,12 @@ int main(int argc, char *argv[])
if ( check_list_symmetry(full, 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;
}