From b685aaff356c970d13439033b1d7754ac9ab15df Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 22 Sep 2017 15:13:15 +0200 Subject: Remove "latt" from asdf For consistency with other algorithms, let's standardise on an interpretation where just using the centering information in combination with the cell parameters, which is always necessary, doesn't qualify as "cell-latt", only "cell-nolatt". "Using lattice type as prior information" implies that asdf would behave differently with cell-nolatt, if it were allowed, than with cell-latt. It wouldn't. It just needs the centering to calculate the cell volume correctly. Note that TakeTwo, by contrast, would behave differently in this hypothetical case, because it uses the lattice type to exclude certain solutions by symmetry. Mosflm allows all four combinations of no/cell and no/latt, and does indeed behave differently between them. --- libcrystfel/src/index.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libcrystfel/src/index.h') diff --git a/libcrystfel/src/index.h b/libcrystfel/src/index.h index 516a9368..ac386390 100644 --- a/libcrystfel/src/index.h +++ b/libcrystfel/src/index.h @@ -41,8 +41,7 @@ #define INDEXING_DEFAULTS_DIRAX (INDEXING_DIRAX) -#define INDEXING_DEFAULTS_ASDF (INDEXING_ASDF | INDEXING_USE_LATTICE_TYPE \ - | INDEXING_USE_CELL_PARAMETERS) +#define INDEXING_DEFAULTS_ASDF (INDEXING_ASDF | INDEXING_USE_CELL_PARAMETERS) #define INDEXING_DEFAULTS_MOSFLM (INDEXING_MOSFLM | INDEXING_USE_LATTICE_TYPE \ | INDEXING_USE_CELL_PARAMETERS) -- cgit v1.2.3