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 b4424b4 + c05cb2b commit 45482d3Copy full SHA for 45482d3
neo/rawio/bci2000rawio.py
@@ -41,7 +41,7 @@ def _parse_header(self):
41
sig_channels = []
42
for chan_ix in range(file_info['SourceCh']):
43
ch_name = param_defs['ChannelNames']['value'][chan_ix] \
44
- if 'ChannelNames' in param_defs else 'ch' + str(chan_ix)
+ if 'ChannelNames' in param_defs and param_defs['ChannelNames']['value'] is not np.nan else 'ch' + str(chan_ix)
45
chan_id = chan_ix + 1
46
sr = param_defs['SamplingRate']['value'] # Hz
47
dtype = file_info['DataFormat']
0 commit comments