diff options
Diffstat (limited to 'libcrystfel/src/xds.c')
-rw-r--r-- | libcrystfel/src/xds.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c index 83d2cab4..33bbe2da 100644 --- a/libcrystfel/src/xds.c +++ b/libcrystfel/src/xds.c @@ -677,6 +677,15 @@ IndexingPrivate *xds_prepare(IndexingMethod *indm, UnitCell *cell, return NULL; } + if ( ((*indm & INDEXING_USE_CELL_PARAMETERS) + || (*indm & INDEXING_USE_LATTICE_TYPE)) + && !(*indm & INDEXING_CHECK_CELL_AXES) + && !(*indm & INDEXING_CHECK_CELL_COMBINATIONS) ) { + ERROR("The cell from xds-raw-cell or xds-raw-latt may have had" + " its axes permuted from the cell you provided. If this" + " is a problem, consider using xds-axes-cell.\n"); + } + xp = calloc(1, sizeof(*xp)); if ( xp == NULL ) return NULL; |