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

Upgraded from v0.4 to v0.9 - EllipseSkyRegion no longer hashable? #555

Open
DavidT3 opened this issue Jul 26, 2024 · 0 comments
Open

Upgraded from v0.4 to v0.9 - EllipseSkyRegion no longer hashable? #555

DavidT3 opened this issue Jul 26, 2024 · 0 comments

Comments

@DavidT3
Copy link

DavidT3 commented Jul 26, 2024

Hi!

First off, thanks for making this module, it has been very useful in my own software. I've been very bad at keeping dependencies updated, and have recently started updating them all. Testing highlighted a problem and throws an error:

TypeError: unhashable type: 'EllipseSkyRegion'

I'm wondering if this was a deliberate behaviour change?

I was essentially using an intersection between two sets to determine which region instances where present in both, which I should be able to achieve in other ways (I believe the region class has an eq method implemented), but using the sets and intersection was neat.

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