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

Document on how to correctly use it for discrete value intervals (including single value intervals) #143

Open
Thomas131 opened this issue Sep 24, 2024 · 0 comments

Comments

@Thomas131
Copy link

I recently got this error:
ValueError: IntervalTree: Null Interval objects not allowed in IntervalTree: Interval(123, 123)

What I wanted to do is - let's say I have this intervals: 120-122, 123, 124-130 - I wanted to merge such intervals automatically to 120-130.

I think there should be more documentation on how to best use IntervalTree for descrete values. For my current project, I think I try another approach that doesn't include intervals.

Somehow related to #59

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