Skip to content

Commit 68410a1

Browse files
thhtlarsoner
authored andcommitted
Update pymatreader to version 0.0.18.1. (#5823)
Fixes possible warnings because of h5py deprecation of `object.value` access.
1 parent 71551ea commit 68410a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mne/externals/pymatreader/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def _handle_hdf5_dataset(hdf5_object):
111111
data = [hdf5_object.file[cur_data] for cur_data in data.flatten()]
112112
if len(data) == 1 and hdf5_object.attrs['MATLAB_class'] == b'cell':
113113
data = data[0]
114-
data = data.value
114+
data = data[()]
115115
return _assign_types(data)
116116

117117
data = _hdf5todict(data)

0 commit comments

Comments
 (0)