Skip to content

Commit 7fb20bb

Browse files
committed
push fixes
1 parent 2b97c75 commit 7fb20bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

neo/rawio/intanrawio.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ def _parse_header(self):
123123
raise ValueError(f"{self.filename} is not a valid Intan file. Expected .rhd or .rhs extension")
124124

125125
# see comment below for RHD which explains the division between file types
126-
if self.self.filename.suffix == ".rhs":
126+
if self.filename.suffix == ".rhs":
127127
if self.filename.name == "info.rhs":
128128
if any((self.filename.parent / file).exists() for file in one_file_per_signal_filenames_rhs):
129129
self.file_format = "one-file-per-signal"
130-
raw_file_paths_dict = create_one_file_per_signal_dict_rhs(dirname=filename.parent)
130+
raw_file_paths_dict = create_one_file_per_signal_dict_rhs(dirname=self.filename.parent)
131131
else:
132132
self.file_format = "one-file-per-channel"
133-
raw_file_paths_dict = create_one_file_per_channel_dict_rhs(dirname=filename.parent)
133+
raw_file_paths_dict = create_one_file_per_channel_dict_rhs(dirname=self.filename.parent)
134134
else:
135135
self.file_format = "header-attached"
136136

0 commit comments

Comments
 (0)