From 226c51876c243a566f491f1b887bd503127c78de Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 2 Jul 2020 09:20:29 +0200 Subject: Recognise .cxi extension as HDF5 --- libcrystfel/src/image-hdf5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libcrystfel/src') diff --git a/libcrystfel/src/image-hdf5.c b/libcrystfel/src/image-hdf5.c index d13a0dae..30bb1939 100644 --- a/libcrystfel/src/image-hdf5.c +++ b/libcrystfel/src/image-hdf5.c @@ -1649,5 +1649,6 @@ int is_hdf5_file(const char *filename) ext = filename_extension(filename, NULL); if ( ext == NULL ) return 0; - return (strcmp(ext, ".h5") == 0); + return ( (strcmp(ext, ".h5") == 0) + || (strcmp(ext, ".cxi") == 0) ); } -- cgit v1.2.3