Skip to content

Commit e618198

Browse files
Merge pull request #892 from INM-6/fix/hdf5io
fixed a bug in loading hd5py data
2 parents 5052eb0 + c995a41 commit e618198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/io/hdf5io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def _merge_data_objects(self, objects):
308308
return objects
309309

310310
def _get_quantity(self, node):
311-
value = node.value
311+
value = node[()]
312312
unit_str = [x for x in node.attrs.keys() if "unit" in x][0].split("__")[1]
313313
units = getattr(pq, unit_str)
314314
return value * units

0 commit comments

Comments
 (0)