Skip to content

Commit 0851e6c

Browse files
authored
Merge pull request #1078 from catalystneuro/fix_failure_with_groupless_channels
Assign a default value to group-less channels in NeuroScopeRawIO
2 parents 13ee22f + 18c41b7 commit 0851e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/neuroscoperawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _parse_header(self):
7373
# signals
7474
sig_channels = []
7575
for c in range(nb_channel):
76-
name = 'ch{}grp{}'.format(c, channel_group[c])
76+
name = 'ch{}grp{}'.format(c, channel_group.get(c, 'none'))
7777
chan_id = str(c)
7878
units = 'mV'
7979
offset = 0.

0 commit comments

Comments
 (0)