diff options
Diffstat (limited to 'libcrystfel/src/mosflm.c')
-rw-r--r-- | libcrystfel/src/mosflm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c index a93bbfe4..cf0852bf 100644 --- a/libcrystfel/src/mosflm.c +++ b/libcrystfel/src/mosflm.c @@ -841,9 +841,9 @@ IndexingPrivate *mosflm_prepare(IndexingMethod *indm, UnitCell *cell, if ( *indm & INDEXING_CHECK_CELL_AXES ) need_cell = 1; if ( *indm & INDEXING_USE_LATTICE_TYPE ) need_cell = 1; - if ( need_cell && (cell == NULL) ) { - ERROR("Altering your MOSFLM flags because no PDB file was" - " provided.\n"); + if ( need_cell && !cell_has_parameters(cell) ) { + ERROR("Altering your MOSFLM flags because cell parameters were" + " not provided.\n"); *indm &= ~INDEXING_CHECK_CELL_COMBINATIONS; *indm &= ~INDEXING_CHECK_CELL_AXES; *indm &= ~INDEXING_USE_LATTICE_TYPE; |