diff options
Diffstat (limited to 'libcrystfel/src/dirax.c')
-rw-r--r-- | libcrystfel/src/dirax.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libcrystfel/src/dirax.c b/libcrystfel/src/dirax.c index e6ff36b1..fb60656a 100644 --- a/libcrystfel/src/dirax.c +++ b/libcrystfel/src/dirax.c @@ -637,8 +637,10 @@ IndexingPrivate *dirax_prepare(IndexingMethod *indm, UnitCell *cell, if ( *indm & INDEXING_CHECK_CELL_AXES ) need_cell = 1; if ( need_cell && (cell == NULL) ) { - ERROR("DirAx needs a unit cell for this set of flags.\n"); - return NULL; + ERROR("Altering your DirAx flags because no PDB file was" + " provided.\n"); + *indm &= ~INDEXING_CHECK_CELL_COMBINATIONS; + *indm &= ~INDEXING_CHECK_CELL_AXES; } /* Flags that DirAx knows about */ |