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 97055e4 commit a586421Copy full SHA for a586421
neo/rawio/baserawio.py
@@ -512,7 +512,7 @@ def _check_stream_signal_channel_characteristics(self):
512
513
# also check that channel_id is unique inside a stream
514
channel_ids = signal_channels[mask]["id"]
515
- if np.unique(channel_ids) != channel_ids.size:
+ if np.unique(channel_ids).size != channel_ids.size:
516
raise ValueError(f"signal_channels do not have unique ids for stream {stream_index}")
517
518
self._several_channel_groups = signal_streams.size > 1
0 commit comments