HERA-Team / hera_cal

Library for HERA data reduction, including redundant calibration, absolute calibration, and LST-binning.
MIT License
13 stars 8 forks source link

fix: allow to use numpy 2 and pyuvdata 3 #959

Closed steven-murray closed 1 month ago

steven-murray commented 1 month ago

This fixes some warnings and errors from pyuvdata 3 and numpy 2.

This depends on https://github.com/HERA-Team/hera_qm/pull/464 and https://github.com/RadioAstronomySoftwareGroup/pyuvdata/pull/1459

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 98.63946% with 2 lines in your changes missing coverage. Please review.

Project coverage is 97.21%. Comparing base (0188ab7) to head (116cb75).

Files Patch % Lines
hera_cal/io.py 97.91% 1 Missing :warning:
hera_cal/smooth_cal.py 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #959 +/- ## ========================================== - Coverage 97.27% 97.21% -0.07% ========================================== Files 31 31 Lines 10950 10987 +37 ========================================== + Hits 10652 10681 +29 - Misses 298 306 +8 ``` | [Flag](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/959/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/HERA-Team/hera_cal/pull/959/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team) | `97.21% <98.63%> (-0.07%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HERA-Team#carryforward-flags-in-the-pull-request-comment) to find out more.

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