aboutsummaryrefslogtreecommitdiff
path: root/src/get_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-12-04 11:10:07 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:07 +0100
commitb16460f117beb38af97698762e1718a8c6f7fa37 (patch)
treec346c420941ddc353093c18680a4f23f394ac690 /src/get_hkl.c
parent131be2e21e135cf7f4a5d5ed65ed804d8794fd29 (diff)
Tighter symmetry check
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r--src/get_hkl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index b952a2e8..db8bd6f3 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -358,6 +358,11 @@ int main(int argc, char *argv[])
input_items = read_reflections(input, ideal_ref, phases,
NULL, esds);
free(input);
+ if ( check_symmetry(input_items, mero) ) {
+ ERROR("The input reflection list does not appear to"
+ " have symmetry %s\n", mero);
+ return 1;
+ }
}
if ( config_poisson ) poisson_reflections(ideal_ref, input_items);