radio-astro-tools / spectral-cube

Library for reading and analyzing astrophysical spectral data cubes
http://spectral-cube.rtfd.org
BSD 3-Clause "New" or "Revised" License
95 stars 61 forks source link

BUG: handle deprecation warning from numpy 1.25 (np.product is deprecated in favour of np.prod) #865

Closed neutrinoceros closed 1 year ago

neutrinoceros commented 1 year ago

see https://github.com/numpy/numpy/pull/23314

codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (0ad68b7) 77.36% compared to head (1ce522b) 77.36%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #865 +/- ## ======================================= Coverage 77.36% 77.36% ======================================= Files 24 24 Lines 6026 6026 ======================================= Hits 4662 4662 Misses 1364 1364 ``` | [Impacted Files](https://codecov.io/gh/radio-astro-tools/spectral-cube/pull/865?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=radio-astro-tools) | Coverage Δ | | |---|---|---| | [spectral\_cube/io/class\_lmv.py](https://codecov.io/gh/radio-astro-tools/spectral-cube/pull/865?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=radio-astro-tools#diff-c3BlY3RyYWxfY3ViZS9pby9jbGFzc19sbXYucHk=) | `42.35% <0.00%> (ø)` | | | [spectral\_cube/masks.py](https://codecov.io/gh/radio-astro-tools/spectral-cube/pull/865?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=radio-astro-tools#diff-c3BlY3RyYWxfY3ViZS9tYXNrcy5weQ==) | `79.93% <0.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=radio-astro-tools). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=radio-astro-tools)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.