From 368030b0020b0d73a67ffef10e87e40818a3ccbe Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 22 Oct 2019 15:26:02 +0200 Subject: Add more warnings --- libcrystfel/src/index.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3