Skip to content

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

Description

@aukondk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions