From 48dd1a163c2c68a64128f5a60370d6b9bd70bfe3 Mon Sep 17 00:00:00 2001 From: Saksham Sharda Date: Tue, 20 Jul 2021 11:46:58 +0530 Subject: [PATCH] fixing small list comprehension error --- neo/rawio/blackrockrawio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/rawio/blackrockrawio.py b/neo/rawio/blackrockrawio.py index 1f3c51d73..e1ffb231a 100644 --- a/neo/rawio/blackrockrawio.py +++ b/neo/rawio/blackrockrawio.py @@ -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), \