From a700f8e170a00a58d1d78351bc4297ac41f01aae Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 29 Apr 2019 13:09:14 +0200 Subject: Accept --indexing=pinkindexer (lower case) --- libcrystfel/src/index.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libcrystfel/src') 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; -- cgit v1.2.3