diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-12-04 11:10:07 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:07 +0100 |
commit | b16460f117beb38af97698762e1718a8c6f7fa37 (patch) | |
tree | c346c420941ddc353093c18680a4f23f394ac690 /src/compare_hkl.c | |
parent | 131be2e21e135cf7f4a5d5ed65ed804d8794fd29 (diff) |
Tighter symmetry check
Diffstat (limited to 'src/compare_hkl.c')
-rw-r--r-- | src/compare_hkl.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c index 29dfe2a5..748a87ad 100644 --- a/src/compare_hkl.c +++ b/src/compare_hkl.c @@ -352,6 +352,18 @@ int main(int argc, char *argv[]) return 1; } + /* Check that the intensities have the correct symmetry */ + if ( check_symmetry(i1, sym) ) { + ERROR("The first input reflection list does not appear to" + " have symmetry %s\n", sym); + return 1; + } + if ( check_symmetry(i2, sym) ) { + ERROR("The second input reflection list does not appear to" + " have symmetry %s\n", sym); + return 1; + } + /* List for output scale factor map */ out = new_list_intensity(); |