Skip to content

Commit 2aea64d

Browse files
committed
oops
1 parent c7d4327 commit 2aea64d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/openephysrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ def _parse_header(self):
295295
event_file_name_0 = event_files[0].stem # this should always be the file without a '_n' appended
296296
for seg_index, oe_index in enumerate(oe_indices):
297297
if oe_index == 0:
298-
event_filename = Path(self.dirname) / event_file_name_0 + ".events"
298+
event_filename = Path(self.dirname) / (event_file_name_0 + ".events")
299299
else:
300-
event_filename = Path(self.dirname) / event_file_name_0 + f"_{oe_index}" + ".events"
300+
event_filename = Path(self.dirname) / (event_file_name_0 + f"_{oe_index}.events")
301301

302302
event_info = read_file_header(event_filename)
303303
# event files can exist, but just not have data

0 commit comments

Comments
 (0)