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 1b1425b commit 475085eCopy full SHA for 475085e
neo/rawio/openephysrawio.py
@@ -168,7 +168,7 @@ def _parse_header(self):
168
signal_channels['stream_id'] = chan_stream_ids
169
170
# and create streams channels (keep natural order 'CH' first)
171
- stream_ids, order = np.unique(chan_stream_ids)
+ stream_ids, order = np.unique(chan_stream_ids, return_index=True)
172
stream_ids = stream_ids[order]
173
signal_streams = [(f'Signals {stream_id}', f'{stream_id}') for stream_id in stream_ids]
174
signal_streams = np.array(signal_streams, dtype=_signal_stream_dtype)
0 commit comments