diff options
author | Thomas White <taw@physics.org> | 2020-03-25 11:35:33 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:57 +0200 |
commit | 9ecedeb9e33e371003bcd1c301027a5c82bcd4df (patch) | |
tree | b73554d161a2de2bcec9ef3f2dc694ace1ce1551 /src/gui_peaksearch.c | |
parent | 95430af8e006e84173af5e918249b5e68832b3d1 (diff) |
Remove duplicate code
Diffstat (limited to 'src/gui_peaksearch.c')
-rw-r--r-- | src/gui_peaksearch.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui_peaksearch.c b/src/gui_peaksearch.c index 67f066ae..3e526eec 100644 --- a/src/gui_peaksearch.c +++ b/src/gui_peaksearch.c @@ -324,12 +324,7 @@ static void peaksearch_algo_changed(GtkWidget *combo, G_CALLBACK(peaksearch_half_pixel_sig), proj); } else if ( strcmp(algo_id, "cxi") == 0 ) { - - proj->peak_search_params.method = PEAK_CXI; - - add_check_param(proj->peak_params, "Half pixel shift", - proj->peak_search_params.half_pixel_shift, - G_CALLBACK(peaksearch_half_pixel_sig), proj); + ERROR("algo_id should be hdf5, not cxi\n"); } else { ERROR("Unrecognised peak search '%s'\n", algo_id); |