From 9ecedeb9e33e371003bcd1c301027a5c82bcd4df Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 25 Mar 2020 11:35:33 +0100 Subject: Remove duplicate code --- src/gui_peaksearch.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/gui_peaksearch.c') 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); -- cgit v1.2.3