aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-09-13 14:41:56 +0200
committerThomas White <taw@physics.org>2024-09-13 14:42:48 +0200
commit3f0aaaadd792b6e6ec3aec0b44ef79c1ae3bf99a (patch)
tree520a32a859a22bd367c19deb4a0a8d551b40afe5
parent4930f13065c947a8d8d4f1ed98f58105eabd80f8 (diff)
indexamajig: Ensure that image peak list is set if --no-revalidate
This was broken by 1b8abebf8bf37d5d57ed55816223d95557b7f844.
-rw-r--r--src/process_image.c2
1 files changed, 2 insertions, 0 deletions
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;