Skip to content

Commit a586421

Browse files
authored
oops
1 parent 97055e4 commit a586421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/baserawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def _check_stream_signal_channel_characteristics(self):
512512

513513
# also check that channel_id is unique inside a stream
514514
channel_ids = signal_channels[mask]["id"]
515-
if np.unique(channel_ids) != channel_ids.size:
515+
if np.unique(channel_ids).size != channel_ids.size:
516516
raise ValueError(f"signal_channels do not have unique ids for stream {stream_index}")
517517

518518
self._several_channel_groups = signal_streams.size > 1

0 commit comments

Comments
 (0)