-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I'm using h5py for storing a file in NeXus format and I'm having problems with values stored in NX_BOOLEAN type.
h5py stores boolean values as a H5T_ENUM according to their FAQ, which creates an error for me when validating a file:
definition=NXmpes.nxdl.xml message="Data type mismatch, expected NX_BOOLEAN, got H5T_ENUM {
H5T_STD_I8LE;
"FALSE" 0;
"TRUE" 1;
}"
... nxdlPath=/NXentry/NXprocess/NXcalibration/applied
... sev=error dataPath=/entry/process/energy_calibration/applied dataFile=MoTe.mpes.nxs
It would be really nice if nxvalidate would also accept this exact enum as a form of NX_BOOLEAN.
Metadata
Metadata
Assignees
Labels
No labels