aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image-hdf5.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/image-hdf5.c')
-rw-r--r--libcrystfel/src/image-hdf5.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/libcrystfel/src/image-hdf5.c b/libcrystfel/src/image-hdf5.c
index ce357f36..702c1392 100644
--- a/libcrystfel/src/image-hdf5.c
+++ b/libcrystfel/src/image-hdf5.c
@@ -1354,9 +1354,8 @@ ImageFeatureList *image_hdf5_read_peaks_cxi(const DataTemplate *dtempl,
ss = buf_y[pk] + peak_offset;
val = buf_i[pk];
- if ( data_template_file_to_panel_coords(dtempl,
- &fs, &ss,
- &pn) )
+ if ( data_template_slabby_file_to_panel_coords(dtempl,
+ &fs, &ss, &pn) )
{
ERROR("Failed to convert %i,%i to "
"panel-relative coordinates\n", fs, ss);
@@ -1477,9 +1476,8 @@ ImageFeatureList *image_hdf5_read_peaks_hdf5(const DataTemplate *dtempl,
ss = buf[tw*i+1] + peak_offset;
val = buf[tw*i+2];
- if ( data_template_file_to_panel_coords(dtempl,
- &fs, &ss,
- &pn) )
+ if ( data_template_slabby_file_to_panel_coords(dtempl,
+ &fs, &ss, &pn) )
{
ERROR("Failed to convert %i,%i to "
"panel-relative coordinates\n", fs, ss);