diff --git a/neo/io/hdf5io.py b/neo/io/hdf5io.py index c665a8934..255538112 100644 --- a/neo/io/hdf5io.py +++ b/neo/io/hdf5io.py @@ -308,7 +308,7 @@ def _merge_data_objects(self, objects): return objects def _get_quantity(self, node): - value = node.value + value = node[()] unit_str = [x for x in node.attrs.keys() if "unit" in x][0].split("__")[1] units = getattr(pq, unit_str) return value * units