Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression test for missing frames after exporting a CVAT dataset #8827

Merged
merged 12 commits into from
Dec 19, 2024
Prev Previous commit
Next Next commit
linted code
  • Loading branch information
Oleg Valiulin committed Dec 16, 2024
commit 0d3e47709edd15b1a30420e0ef1184a99ef69959
2 changes: 1 addition & 1 deletion tests/python/rest_api/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ def test_export_with_non_default_frame_step(

def get_png_index(zinfo: zipfile.ZipInfo) -> int:
name = PurePosixPath(zinfo.filename)
if name.suffix.lower() != ".png": # png is usually for video
if name.suffix.lower() != ".png": # png is usually for video
zhiltsov-max marked this conversation as resolved.
Show resolved Hide resolved
return -1
name = os.path.basename(name).removesuffix(name.suffix)
idx = name[name.rfind("_") + 1 :]
Expand Down
Loading