We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b916cfc commit e286545Copy full SHA for e286545
neo/rawio/openephysbinaryrawio.py
@@ -58,7 +58,6 @@ def _parse_header(self):
58
59
for block_index in range(nb_block):
60
sig_stream_names[block_index] = {}
61
-
62
for stream_name in sorted(list(all_streams[block_index][0]['continuous'].keys())):
63
sig_stream_names[block_index][sig_stream_index] = stream_name
64
sig_stream_index += 1
@@ -191,7 +190,7 @@ def _parse_header(self):
191
190
192
# loop over events
193
for stream_ind, stream_name in event_stream_names[block_index].items():
194
- d = self._evt_streams[block_index][0][stream_index]
+ d = self._evt_streams[block_index][0][stream_ind]
195
if d['timestamps'].size == 0:
196
continue
197
t_start = d['timestamps'][0] / d['sample_rate']
0 commit comments