Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
kmap
xsocs
Commits
fd60dc63
Commit
fd60dc63
authored
Jul 24, 2018
by
Thomas Vincent
Browse files
fix for old version of h5py (2.5.0) as on rnice
parent
f9d357cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
xsocs/io/XsocsH5.py
View file @
fd60dc63
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment