diff options
author | Thomas White <taw@physics.org> | 2019-10-22 10:55:52 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-10-22 10:55:52 +0200 |
commit | e5bd22e532c65c4980f8fcda566e9228f730a743 (patch) | |
tree | 8affa9de050f785a9e83e4030eff6a6f1dd36946 /libcrystfel/src/index.c | |
parent | 883e26767fb61d6af5381cbecf8fb2ff33210be7 (diff) |
Add some warnings and assertions
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r-- | libcrystfel/src/index.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index d24e8355..2dead425 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -592,6 +592,7 @@ static int check_cell(IndexingFlags flags, Crystal *cr, UnitCell *target, cell_free(crystal_get_cell(cr)); crystal_set_cell(cr, out); rtnl_mtx_free(rm); + if ( !right_handed(out) ) STATUS("WARNING: left handed\n"); /* Copy the target cell's lattice type and unique axis * onto the crystal's cell. The cell from compare_r_c_p doesn't |