From 3f0aaaadd792b6e6ec3aec0b44ef79c1ae3bf99a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 13 Sep 2024 14:41:56 +0200 Subject: indexamajig: Ensure that image peak list is set if --no-revalidate This was broken by 1b8abebf8bf37d5d57ed55816223d95557b7f844. --- src/process_image.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/process_image.c b/src/process_image.c index 820eb248..9586d471 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -313,6 +313,8 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs, iargs->peak_search.check_hdf5_snr); image_feature_list_free(peaks); image->features = npeaks; + } else { + image->features = peaks; } break; -- cgit v1.2.3