Skip to content

Commit aaec649

Browse files
committed
Fix bug stream ids #1055
1 parent 21c197b commit aaec649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/openephysrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def _parse_header(self):
173173

174174
# and create streams channels (keep natural order 'CH' first)
175175
stream_ids, order = np.unique(chan_stream_ids, return_index=True)
176-
stream_ids = stream_ids[order]
176+
stream_ids = stream_ids[np.argsort(order)]
177177
signal_streams = [(f'Signals {stream_id}', f'{stream_id}') for stream_id in stream_ids]
178178
signal_streams = np.array(signal_streams, dtype=_signal_stream_dtype)
179179

0 commit comments

Comments
 (0)