aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image-hdf5.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-04-20 15:40:58 +0200
committerThomas White <taw@physics.org>2022-04-20 15:40:58 +0200
commitb8ca4495b1d9cdd83d20a485f41424f028378871 (patch)
treec721e1580401723fdb939ee31b9886235f8f7c13 /libcrystfel/src/image-hdf5.c
parent0d4ed3cf3e5bc772ec929d1141d0e3a13dc96d3f (diff)
Recognise .nx5 as HDF5
Diffstat (limited to 'libcrystfel/src/image-hdf5.c')
-rw-r--r--libcrystfel/src/image-hdf5.c3
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) );
}