diff options
author | Thomas White <taw@physics.org> | 2014-09-19 16:07:24 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-09-19 16:23:39 +0200 |
commit | 6a6cb3b4d7f15c234a79ff8421a0ae5c1a1dcb2a (patch) | |
tree | 00f6e0da9a8d086af18b0b1f34433bc115c9f206 /libcrystfel/src/mosflm.c | |
parent | 2c959daa7a46b99a10dd5a1998b62ccb8def97de (diff) |
Introduce CrystFEL unit cell files
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; |