diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_peaksearch.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui_peaksearch.c b/src/gui_peaksearch.c index 149aacc8..8bcf5f67 100644 --- a/src/gui_peaksearch.c +++ b/src/gui_peaksearch.c @@ -277,7 +277,14 @@ static void peaksearch_algo_changed(GtkWidget *combo, proj->peak_search_params.max_res, G_CALLBACK(peaksearch_max_res_sig), proj); - } /* else no parameters! */ + } else if ( strcmp(algo_id, "hdf5") == 0 ) { + proj->peak_search_params.method = PEAK_HDF5; + + } else if ( strcmp(algo_id, "cxi") == 0 ) { + proj->peak_search_params.method = PEAK_CXI; + } else { + ERROR("Unrecognised peak search '%s'\n", algo_id); + } /* FIXME: Radii */ |