aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-11-29 11:14:31 +0100
committerThomas White <taw@physics.org>2012-11-29 12:01:37 +0100
commit0537442509a01e70c29f980752f440c3716d1e23 (patch)
tree0fd8bb2844bb4a9a71a0e0a602db924cee31006f /src/im-sandbox.c
parentfcba20a4c51793701c5946cca8fc264aa2e72450 (diff)
indexamajig: Add --no-revalidate and update manpage
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index aed0b04b..1b460d4e 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -291,9 +291,11 @@ static void process_image(const struct index_args *iargs,
iargs->hdf5_peak_path)) {
ERROR("Failed to get peaks from HDF5 file.\n");
}
- validate_peaks(&image, iargs->min_int_snr,
- iargs->ir_inn, iargs->ir_mid, iargs->ir_out,
- iargs->use_saturated);
+ if ( !iargs->no_revalidate ) {
+ validate_peaks(&image, iargs->min_int_snr,
+ iargs->ir_inn, iargs->ir_mid,
+ iargs->ir_out, iargs->use_saturated);
+ }
break;
case PEAK_ZAEF: