diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2014-12-12 18:59:39 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-12-14 07:17:43 +0100 |
commit | d5f011beac8badef95a65966935d4fc1b320e292 (patch) | |
tree | 028b29a8c45e3b3e2f9b3a5b95b3776f72ba6dc3 /src/process_image.c | |
parent | 4f80ff8f01695276cc0d4cb628034f1b50d8e2d4 (diff) |
Read cxidb peak info
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 ) { |