diff options
author | Thomas White <taw@physics.org> | 2020-07-02 09:20:29 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:44 +0200 |
commit | 226c51876c243a566f491f1b887bd503127c78de (patch) | |
tree | 91c1bcd7bb899bc6529391b31ebefbec2b48aff8 /libcrystfel/src | |
parent | 546a3b7e96a4a914285b0284719f3f54d810728b (diff) |
Recognise .cxi extension as HDF5
Diffstat (limited to 'libcrystfel/src')
-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) ); } |