Skip to content

Commit

Permalink
fixing small list comprehension error
Browse files Browse the repository at this point in the history
  • Loading branch information
Saksham20 committed Jul 20, 2021
1 parent 9d64537 commit 48dd1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/rawio/blackrockrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def _parse_header(self):
'nsx_to_load do not match available nsx list'

# check that all files come from the same specification
all_spec = [self.__nsx_spec[nsx_nb] for nsx in self.nsx_to_load]
all_spec = [self.__nsx_spec[nsx_nb] for nsx_nb in self.nsx_to_load]
if self._avail_files['nev']:
all_spec.append(self.__nev_spec)
assert all(all_spec[0] == spec for spec in all_spec), \
Expand Down

0 comments on commit 48dd1a1

Please sign in to comment.