Skip to content

Commit 9f334df

Browse files
committed
fix intendation
1 parent b7d8cac commit 9f334df

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

neo/rawio/tdtrawio.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,12 @@ def _parse_header(self):
288288
block_path = self.dirname / segment_name
289289
sev_regex = f"{tankname}_{segment_name}_{stream_name}_[cC]h{chan_id}.sev"
290290
sev_filename = list(block_path.glob(sev_regex))
291-
if len(sev_filename) == 1:
292-
sev_filename = sev_filename[0]
293-
elif len(sev_filename) == 0:
294-
sev_filename = None # Indirect flag for TEV Format, see issue 1087
295-
else:
296-
raise ValueError(f"Multiple SEV files matched for channel {chan_id}: {sev_filename}")
291+
if len(sev_filename) == 1:
292+
sev_filename = sev_filename[0]
293+
elif len(sev_filename) == 0:
294+
sev_filename = None # Indirect flag for TEV Format, see issue 1087
295+
else:
296+
raise ValueError(f"Multiple SEV files matched for channel {chan_id}: {sev_filename}")
297297
else:
298298
# for single block datasets the exact name of sev files is not known
299299
sev_regex = f"*_[cC]h{chan_id}.sev"

0 commit comments

Comments
 (0)