spacetelescope / gwcs

Generalized World Coordinate System: provides tools for managing WCS in a general way
https://gwcs.readthedocs.io/en/latest/
47 stars 48 forks source link

Improve compatibility with numpy 2.0 #510

Closed mcara closed 2 months ago

mcara commented 2 months ago

Fixes deprecation warnings related to computing cross product of 2D vectors using numpy.cross with numpy >= 2.0.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 87.28%. Comparing base (eb9d316) to head (c58b4db). Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
gwcs/region.py 83.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #510 +/- ## ========================================== - Coverage 87.28% 87.28% -0.01% ========================================== Files 22 21 -1 Lines 3821 3813 -8 ========================================== - Hits 3335 3328 -7 + Misses 486 485 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.