Skip to content

Commit a0291d5

Browse files
authored
Merge pull request #1 from hornauerp/hornauerp-patch-1
Fixed bug in maxwellrawio.py that shuffled channels
2 parents 6ce00dc + 28af3ec commit a0291d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/maxwellrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def _get_analogsignal_chunk(self, block_index, seg_index, i_start, i_stop,
185185
# to be indexed out of order
186186
sorted_channel_indexes = np.sort(channel_indexes)
187187
resorted_indexes = np.array(
188-
[list(channel_indexes).index(ch) for ch in sorted_channel_indexes])
188+
[list(sorted_channel_indexes).index(ch) for ch in channel_indexes])
189189

190190
try:
191191
if resorted_indexes is None:

0 commit comments

Comments
 (0)