File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,7 +219,8 @@ def extract_start_frames_label(cliplabels_path: str | Path) -> Path:
219219 # Validate input filename
220220 if not cliplabels_path .name .endswith ("_cliplabels.json" ):
221221 raise ValueError (
222- f"Input file must end with '_cliplabels.json', got { cliplabels_path .name } "
222+ "Input file must end with '_cliplabels.json', "
223+ f"got { cliplabels_path .name } "
223224 )
224225
225226 # Read the cliplabels file
@@ -345,7 +346,8 @@ def extract_start_frames_label_s3(
345346 # Keep categories unchanged
346347 start_labels ["categories" ] = clip_labels ["categories" ]
347348
348- # Generate output key by replacing _cliplabels.json with _startlabels.json
349+ # Generate output key by replacing _cliplabels.json with
350+ # _startlabels.json
349351 output_key = key .replace ("_cliplabels.json" , "_startlabels.json" )
350352 output_uri = f"s3://{ bucket_name } /{ output_key } "
351353
You can’t perform that action at this time.
0 commit comments