We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4b6bbf + 588accf commit 6164a87Copy full SHA for 6164a87
neo/rawio/bci2000rawio.py
@@ -44,7 +44,7 @@ def _parse_header(self):
44
45
sig_channels = []
46
for chan_ix in range(file_info['SourceCh']):
47
- if 'ChannelNames' in param_defs and not np.isnan(param_defs['ChannelNames']['value']):
+ if 'ChannelNames' in param_defs and isinstance(param_defs['ChannelNames']['value'], (list, tuple)):
48
ch_name = param_defs['ChannelNames']['value'][chan_ix]
49
else:
50
ch_name = 'ch' + str(chan_ix)
0 commit comments