spacetelescope / calcos

Calibration for HST/COS.
https://hst-docs.stsci.edu/cosdhb/chapter-3-cos-calibration
3 stars 27 forks source link

Fix problem from formerly deprecated numpy behaviour now raising exception #228

Closed stscirij closed 1 year ago

stscirij commented 1 year ago

One unit test does a comparison between an array and scalar. Before numpy 1.25, this raised a deprecation warning (need to use np.any() or np.all()). With numpy 1.25, this is now an error.

stenhasselquist commented 1 year ago

Are we worried about the "test-cov_xdist" failed check?

stscirij commented 1 year ago

No, Zach looked at this and it wasn't immediately obvious what was going on there. Codecov issues, whether from not running or from running and giving a 'bad' result, aren't something to delay a build for