spacetelescope / astrocut

Tools for making image cutouts from sets of TESS full frame images
https://astrocut.readthedocs.io
25 stars 12 forks source link

Update deprecated numpy calls #113

Closed ecalifornica closed 6 months ago

ecalifornica commented 10 months ago

Update deprecated numpy calls to resolve unit test warnings as part of #101

.tox/test/lib/python3.11/site-packages/astrocut/tests/test_make_cube.py: 11 warnings
  /host/.tox/test/lib/python3.11/site-packages/_pytest/python.py:194: DeprecationWarning: `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
    result = testfunction(**testargs)
snbianco commented 6 months ago

Looks like these changes were made again in a more recent PR. Thank you for contributing, and I'm sorry that we didn't get around to reviewing sooner!