Skip to content

Commit 5ab17d1

Browse files
committed
fix shape issue
1 parent 1814bc1 commit 5ab17d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/biocamrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def _get_analogsignal_chunk(self, block_index, seg_index, i_start, i_stop, strea
127127
data = self._read_function(self._filehandle, i_start, i_stop, self._num_channels)
128128

129129
# older style data return everything
130-
if data.shape[1] != 1:
130+
if len(data.shape) > 1:
131131
if channel_indexes is None:
132132
channel_indexes = slice(None)
133133
sig_chunk = data[:, channel_indexes]

0 commit comments

Comments
 (0)