Skip to content

Commit 8d32b9b

Browse files
committed
fix stream
1 parent e962318 commit 8d32b9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

neo/rawio/openephysbinaryrawio.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ def _parse_header(self):
275275

276276
# Add a buffer slice for the sync channel
277277
sync_channel_name = info["channels"][-1]["channel_name"]
278-
self._stream_buffer_slice[sync_channel_name] = slice(-1, None)
278+
stream_name = f"{sync_channel_name}-{str(stream_id)}"
279+
self._stream_buffer_slice[stream_name] = slice(-1, None)
279280
else:
280281
self._stream_buffer_slice[stream_id] = None
281282
else:

0 commit comments

Comments
 (0)