aboutsummaryrefslogtreecommitdiff
path: root/src/gui_index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-01 11:46:21 +0100
committerThomas White <taw@physics.org>2021-03-01 11:46:21 +0100
commit04f7ec271ce14ab23b38ff005d9fbb61c4f9f6a5 (patch)
tree9d07b777931e3ee2de1704eb94f65645fec5cf2b /src/gui_index.c
parent2120ed0d92bc42fdba5626265b31ae7bc71f4719 (diff)
GUI: Pass --peak-radius to indexamajig
Another one missed out before.
Diffstat (limited to 'src/gui_index.c')
-rw-r--r--src/gui_index.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index 1a08fd78..75bc233f 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -727,6 +727,11 @@ char **indexamajig_command_line(const char *geom_filename,
add_arg_int(args, n_args++, "max-res",
peak_search_params->max_res);
}
+ snprintf(tols, 2048, "--peak-radius=%.1f,%.1f,%.1f",
+ peak_search_params->pk_inn,
+ peak_search_params->pk_mid,
+ peak_search_params->pk_out);
+ add_arg(args, n_args++, tols);
if ( indexing_params->min_peaks > 0 ) {
add_arg_int(args, n_args++, "min-peaks",