aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indexamajig.c2
-rw-r--r--src/process_image.c3
-rw-r--r--src/process_image.h1
3 files changed, 6 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index efad3fb0..bd159a9a 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -989,6 +989,8 @@ int main(int argc, char *argv[])
iargs.peaks = PEAK_PEAKFINDER9;
} else if ( strcmp(speaks, "msgpack") == 0 ) {
iargs.peaks = PEAK_MSGPACK;
+ } else if ( strcmp(speaks, "none") == 0 ) {
+ iargs.peaks = PEAK_NONE;
} else {
ERROR("Unrecognised peak detection method '%s'\n", speaks);
return 1;
diff --git a/src/process_image.c b/src/process_image.c
index e9e90e71..654ffd46 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -343,6 +343,9 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs,
iargs->half_pixel_shift);
break;
+ case PEAK_NONE:
+ break;
+
}
image.peak_resolution = estimate_peak_resolution(image.features,
diff --git a/src/process_image.h b/src/process_image.h
index f8b0f4b1..9a58a64f 100644
--- a/src/process_image.h
+++ b/src/process_image.h
@@ -56,6 +56,7 @@ enum {
PEAK_HDF5,
PEAK_CXI,
PEAK_MSGPACK,
+ PEAK_NONE,
};