Commit fd60dc63 authored by Thomas Vincent's avatar Thomas Vincent

fix for old version of h5py (2.5.0) as on rnice

parent f9d357cd
......@@ -296,7 +296,7 @@ class XsocsH5(XsocsH5Base):
for name, node in h5_file[path].items():
if (isinstance(node, _h5py.Dataset) and
node.dtype.kind in 'iuf' and
node.ndim == 1 and
len(node.shape) == 1 and
node.shape[0] == nb_images):
# Only get (u)int and float datasets
# with same number of values as number of images
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment