aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/index.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 951018e4..c1897d1f 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -438,6 +438,9 @@ IndexingMethod *build_indexer_list(const char *str)
} else if ( strcmp(methods[i], "none") == 0) {
list[++nmeth] = INDEXING_NONE;
+
+ } else if ( strcmp(methods[i], "simulation") == 0) {
+ list[++nmeth] = INDEXING_SIMULATION;
return list;
} else if ( strcmp(methods[i], "raw") == 0) {