aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r--libcrystfel/src/image.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index 9fc647ab..2250dc42 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -776,18 +776,13 @@ static int image_read_image_data(struct image *image,
return 1;
case DATA_SOURCE_TYPE_HDF5:
- return image_hdf5_read(image, dtempl,
- image->filename, image->ev);
+ return image_hdf5_read(image, dtempl);
case DATA_SOURCE_TYPE_CBF:
- return image_cbf_read(image, dtempl,
- image->filename, image->ev,
- 0);
+ return image_cbf_read(image, dtempl, 0);
case DATA_SOURCE_TYPE_CBFGZ:
- return image_cbf_read(image, dtempl,
- image->filename, image->ev,
- 1);
+ return image_cbf_read(image, dtempl, 1);
case DATA_SOURCE_TYPE_MSGPACK:
return image_msgpack_read(image, dtempl, image->data_block,