diff options
author | Thomas White <taw@physics.org> | 2022-04-20 15:40:58 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-04-20 15:40:58 +0200 |
commit | b8ca4495b1d9cdd83d20a485f41424f028378871 (patch) | |
tree | c721e1580401723fdb939ee31b9886235f8f7c13 | |
parent | 0d4ed3cf3e5bc772ec929d1141d0e3a13dc96d3f (diff) |
Recognise .nx5 as HDF5
-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 7023e811..fd16ac08 100644 --- a/libcrystfel/src/image-hdf5.c +++ b/libcrystfel/src/image-hdf5.c @@ -1976,7 +1976,8 @@ int is_hdf5_file(const char *filename) if ( ext == NULL ) return 0; return ( (strcmp(ext, ".h5") == 0) - || (strcmp(ext, ".cxi") == 0) ); + || (strcmp(ext, ".cxi") == 0) + || (strcmp(ext, ".nx5") == 0) ); } |