aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-10-09 17:25:15 +0200
committerThomas White <taw@physics.org>2017-10-09 17:25:15 +0200
commit9f18d76585c529f8055eaf13e4c92429d30beb1c (patch)
tree6c1b880f69b95038c855cbe36b3702d086b2de0d /libcrystfel/src/index.c
parent70da1673a545bf9795e8bea51f708ff229ef2239 (diff)
indexer_str(): Don't return "none-nolatt-nocell"
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index e4e3fc6a..8ac04368 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -851,6 +851,7 @@ char *indexer_str(IndexingMethod indm)
char *str = base_indexer_str(indm);
if ( (indm & INDEXING_METHOD_MASK) == INDEXING_SIMULATION ) return str;
+ if ( (indm & INDEXING_METHOD_MASK) == INDEXING_NONE ) return str;
if ( indm & INDEXING_USE_LATTICE_TYPE ) {
strcat(str, "-latt");