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

Warnings regarding truth value of Quantities #25

Open
multiwavelength opened this issue Feb 14, 2022 · 0 comments
Open

Warnings regarding truth value of Quantities #25

multiwavelength opened this issue Feb 14, 2022 · 0 comments
Labels
bug Something isn't working question Further information is requested

Comments

@multiwavelength
Copy link
Owner

When importing/running GLEAM this issue arises:

WARNING: AstropyDeprecationWarning: The truth value of a Quantity is ambiguous. In the future this will raise a ValueError. [astropy.units.quantity]

This was noticed by @Victor-Savu in #9.
Preliminary investigations indicate the issue is caused by how Pydantic dataclasses interact with Astropy Quantities.

@multiwavelength multiwavelength added bug Something isn't working question Further information is requested labels Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant