Skip to content

Commit da0f09c

Browse files
authored
Merge pull request #1576 from zm711/neuronexus-patch
NeuroNexusRawIO: fix the get_signal_size
2 parents 2ec3b63 + 3079f74 commit da0f09c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/neuronexusrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ def _parse_header(self):
237237

238238
def _get_signal_size(self, block_index, seg_index, stream_index):
239239

240-
# All streams have the same size so just return the raw_data size
241-
return self._raw_data.size
240+
# All streams have the same size so just return the raw_data (num_samples, num_chans)
241+
return self._raw_data.shape[0]
242242

243243
def _get_analogsignal_chunk(self, block_index, seg_index, i_start, i_stop, stream_index, channel_indexes):
244244

0 commit comments

Comments
 (0)