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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/image-hdf5.c b/libcrystfel/src/image-hdf5.c
index 6b6b70c5..02b83068 100644
--- a/libcrystfel/src/image-hdf5.c
+++ b/libcrystfel/src/image-hdf5.c
@@ -1221,3 +1221,9 @@ struct event_list *image_hdf5_expand_frames(const DataTemplate *dtempl,
}
}
+
+
+int is_hdf5_file(const char *filename)
+{
+ return H5Fis_hdf5(filename);
+}