Skip to content

Commit 4e56de8

Browse files
committed
small change
1 parent 7c899cc commit 4e56de8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

neo/rawio/blackrockrawio.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,11 @@ def _parse_header(self):
267267
self._nev_spec = self._extract_nev_file_spec()
268268

269269
# read nev headers
270-
self._nev_basic_header, self._nev_ext_header = self._nev_header_reader[self._nev_spec]()
270+
header_reader_function = self._nev_header_reader[self._nev_spec]
271+
self._nev_basic_header, self._nev_ext_header = header_reader_function()
271272

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()
273275
spikes, spike_segment_ids = self.nev_data["Spikes"]
274276

275277
# scan all channel to get number of Unit

0 commit comments

Comments
 (0)