diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-02-23 06:24:27 -0800 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-02-23 06:24:27 -0800 |
commit | 6d7d5de215e24e68e6c01c96f1c23539387cb85b (patch) | |
tree | e1183f9e72ff6717f058ac148eeb8fdf02231e4b /libcrystfel | |
parent | 46a8d7c7a07997a1fc1d2d822318daf6a36a8c70 (diff) |
build_indexed_list(): Recognise "simulation"
Because we also need it to work when reading a stream.
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/index.c | 3 |
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) { |