File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
You can’t perform that action at this time.
0 commit comments