We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c899cc commit 4e56de8Copy full SHA for 4e56de8
1 file changed
neo/rawio/blackrockrawio.py
@@ -267,9 +267,11 @@ def _parse_header(self):
267
self._nev_spec = self._extract_nev_file_spec()
268
269
# read nev headers
270
- self._nev_basic_header, self._nev_ext_header = self._nev_header_reader[self._nev_spec]()
+ header_reader_function = self._nev_header_reader[self._nev_spec]
271
+ self._nev_basic_header, self._nev_ext_header = header_reader_function()
272
- self.nev_data = self._nev_data_reader[self._nev_spec]()
273
+ nev_reader_function = self._nev_data_reader[self._nev_spec]
274
+ self.nev_data = nev_reader_function()
275
spikes, spike_segment_ids = self.nev_data["Spikes"]
276
277
# scan all channel to get number of Unit
0 commit comments