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

IntervalTree doesn't like when start and end are the same. #13

Open
aukondk opened this issue May 31, 2021 · 0 comments
Open

IntervalTree doesn't like when start and end are the same. #13

aukondk opened this issue May 31, 2021 · 0 comments

Comments

@aukondk
Copy link
Contributor

aukondk commented May 31, 2021

I'm trying out a big batch of videos and found some that call t.addi(start, end, [(index, shape)]) where start and end are the same value.

ValueError: IntervalTree: Null Interval objects not allowed in IntervalTree: Interval(3045100000000, 3045100000000, [(30, <Element '{http://www.w3.org/2000/svg}g' at 0x7ff8042cff90>)])

I've tired to solve it on mine by just adding a "if start == end: continue" just before but I'm not sure if that's a good fix. Some of these take a very long time to process.

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

No branches or pull requests

1 participant