From 62898319b6c59e251685438e3a0ea77eacc8114b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 31 Aug 2017 10:50:57 +0200 Subject: setup_indexing(): Honour no_refine Fixes a regression caused by 61565336125, which broke indexamajig --no-refine. --- libcrystfel/src/index.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index b00f13aa..644ea31f 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -181,6 +181,7 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell, free(methods); return NULL; } + if ( no_refine ) methods[i] &= ~INDEXING_REFINE; } ipriv = malloc(sizeof(struct _indexingprivate)); -- cgit v1.2.3