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.
1 parent 0804d97 commit 91f0d6aCopy full SHA for 91f0d6a
neo/rawio/blackrockrawio.py
@@ -423,11 +423,11 @@ def _parse_header(self):
423
signal_buffers.append((stream_name, buffer_id))
424
signal_streams.append((stream_name, stream_id, buffer_id))
425
for i, chan in enumerate(ext_header):
426
- if spec in ["2.2", "2.3", "3.0"]:
+ if spec_version in ["2.2", "2.3", "3.0"]:
427
ch_name = chan["electrode_label"].decode()
428
ch_id = str(chan["electrode_id"])
429
units = chan["units"].decode()
430
- elif spec == "2.1":
+ elif spec_version == "2.1":
431
ch_name = chan["labels"]
432
ch_id = str(self.__nsx_ext_header[nsx_nb][i]["electrode_id"])
433
units = chan["units"]
0 commit comments