aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-02-08 16:38:12 -0800
committerThomas White <taw@physics.org>2013-02-08 16:38:12 -0800
commit15ff2bcdbc294277359e64d2d07d2715a422d1fc (patch)
tree265f126b47135330b099fab86211e7aed2472ca0
parent0ad51536eb7a4d4bf13909cf50382cebb043f7a8 (diff)
Allow --indexing=none
-rw-r--r--libcrystfel/src/index.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 94159957..1c3441a6 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -258,6 +258,10 @@ IndexingMethod *build_indexer_list(const char *str)
/* ReAx doesn't need any cell check */
list[++nmeth] = set_raw(defaults(INDEXING_REAX));
+ } else if ( strcmp(methods[i], "none") == 0) {
+ list[++nmeth] = INDEXING_NONE;
+ return list;
+
} else if ( strcmp(methods[i], "raw") == 0) {
list[nmeth] = set_raw(list[nmeth]);