diff options
Diffstat (limited to 'src/process_image.c')
-rw-r--r-- | src/process_image.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/process_image.c b/src/process_image.c index 41810e12..57bc9e3c 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -179,12 +179,8 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs, case PEAK_HDF5: /* Get peaks from HDF5 */ - if ( !single_panel_data_source(iargs->det, iargs->element) ) { - ERROR("Peaks from HDF5 file not supported with " - "multiple panel data sources.\n"); - } - - if ( get_peaks(&image, hdfile, iargs->hdf5_peak_path) ) { + if ( get_peaks(&image, hdfile, iargs->hdf5_peak_path, + iargs->cxidb_hdf5_peaks, pargs->filename_p_e) ) { ERROR("Failed to get peaks from HDF5 file.\n"); } if ( !iargs->no_revalidate ) { |