diff options
-rw-r--r-- | libcrystfel/src/image-hdf5.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) ); } |