aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/index.c2
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);