From b8ca4495b1d9cdd83d20a485f41424f028378871 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 20 Apr 2022 15:40:58 +0200 Subject: Recognise .nx5 as HDF5 --- libcrystfel/src/image-hdf5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) ); } -- cgit v1.2.3