diff options
author | Thomas White <taw@physics.org> | 2019-04-29 13:09:14 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-09-12 16:35:52 +0200 |
commit | a700f8e170a00a58d1d78351bc4297ac41f01aae (patch) | |
tree | 0d305fdb3b7d5510b8dfa9acb14d0f7e49e1325e /libcrystfel/src | |
parent | 9805a1aa7475de72bd9da251949490345a93987c (diff) |
Accept --indexing=pinkindexer (lower case)
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/index.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index 2653ec74..80a773ab 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -1021,7 +1021,9 @@ IndexingMethod get_indm_from_string_2(const char *str, int *err) method = INDEXING_DEFAULTS_XGANDALF; have_method = 1; - } else if ( strcmp(bits[i], "pinkIndexer") == 0) { + } else if ( (strcmp(bits[i], "pinkIndexer") == 0) + || (strcmp(bits[i], "pinkindexer") == 0) ) + { if ( have_method ) return warn_method(str); method = INDEXING_DEFAULTS_PINKINDEXER; have_method = 1; |