diff options
author | Thomas White <taw@physics.org> | 2019-10-22 15:26:02 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-10-22 15:26:02 +0200 |
commit | 368030b0020b0d73a67ffef10e87e40818a3ccbe (patch) | |
tree | 387a087f802c74cca789d027870719975b5133ad /libcrystfel/src | |
parent | e5bd22e532c65c4980f8fcda566e9228f730a743 (diff) |
Add more warnings
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/index.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index 2dead425..9e006ef7 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -583,6 +583,8 @@ static int check_cell(IndexingFlags flags, Crystal *cr, UnitCell *target, /* Check at all? */ if ( !(flags & INDEXING_CHECK_CELL) ) return 0; + if ( !right_handed(target) ) STATUS("WARNING: reference cell is left handed\n"); + if ( !right_handed(crystal_get_cell(cr)) ) STATUS("WARNING: unmatched cell is left handed\n"); out = compare_reindexed_cell_parameters(crystal_get_cell(cr), target, tolerance, &rm); |