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

fix desktop ordering error #1386

Merged
merged 1 commit into from
Oct 12, 2023
Merged

fix desktop ordering error #1386

merged 1 commit into from
Oct 12, 2023

Conversation

BryonLewis
Copy link
Collaborator

@BryonLewis BryonLewis commented Oct 12, 2023

Fixes some ordering issues with sparsed tracks in a CSV.

Specifically if you had sparsely populated tracks it would throw an ordering error.

I.E if you had tracks on frame 1, 3, 5 the logic from before would throw an error about being out of order but that isn't necessarily true. That logic just checked to make sure that the next frame in each instance was equal to the current frame + 1, we really just want the next frame to be greater than the lower frame and throw and error if it isn't.

To add to this I also did some pre-sorting of the frames. Annotators kept giving my CSV files that don't have the frame ordering sorted.

@BryonLewis BryonLewis requested a review from marySalvi October 12, 2023 14:18
@BryonLewis BryonLewis merged commit 8bcdfdd into main Oct 12, 2023
4 checks passed
@BryonLewis BryonLewis deleted the desktop-ordering-error branch October 12, 2023 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants