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

Errors with empty trees #14

Open
lifepillar opened this issue Jun 1, 2022 · 0 comments
Open

Errors with empty trees #14

lifepillar opened this issue Jun 1, 2022 · 0 comments

Comments

@lifepillar
Copy link

Something like:

t = RTree()
list(t.query((2,4)))

results in AttributeError: 'NoneType' object has no attribute 'min_x'. Shouldn't the above return an empty list? Alternatively, how to test for emptiness?

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