diff options
author | Thomas White <taw@physics.org> | 2014-11-26 14:18:53 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-11-26 14:18:53 +0100 |
commit | 9c4af5b5577d091f323bc3e6ace4b0652e05c9da (patch) | |
tree | 388d6f5185f5864137dff65495468678522071fd /libcrystfel/src/mosflm.c | |
parent | 1f7074c9bcb0f4fd3b56f9653511856bad58b7f1 (diff) |
Read unique axis from unit cell (.cell) files
... and fix the MOSFLM logic again.
Diffstat (limited to 'libcrystfel/src/mosflm.c')
-rw-r--r-- | libcrystfel/src/mosflm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c index c28acd4a..dd865570 100644 --- a/libcrystfel/src/mosflm.c +++ b/libcrystfel/src/mosflm.c @@ -861,7 +861,10 @@ IndexingPrivate *mosflm_prepare(IndexingMethod *indm, UnitCell *cell, if ( (*indm & INDEXING_USE_LATTICE_TYPE) && !((*indm & INDEXING_CHECK_CELL_COMBINATIONS) || (*indm & INDEXING_CHECK_CELL_AXES)) - && cell_has_parameters(cell) ) + && (cell_has_parameters(cell) + || (cell_get_unique_axis(cell) == 'a') + || (cell_get_unique_axis(cell) == 'b') + || (cell_get_unique_axis(cell) == 'c')) ) { ERROR("WARNING: The unit cell from %s might have had " "its axes permuted from the unit cell you gave.\n" |