Closed bhazelton closed 1 year ago
Patch coverage: 100.00
% and project coverage change: -0.02
:warning:
Comparison is base (
d6c757c
) 97.06% compared to head (c5529e9
) 97.05%.:exclamation: Current head c5529e9 differs from pull request most recent head 58b5f64. Consider uploading reports for the commit 58b5f64 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Looks like there's another pyuvdata PR with hera_qm errors, so I'll update this to pass on that branch as well. I'll also fix the coverage decrease.
Ok, this now fixes the problems in both pyuvdata PRs.
I'm OK with requiring the newest version of pyuvdata for the purposes of simplifying this PR (and just not merging it until that version is merged and on pypi).
@jsdillon Ok, I think this PR is ready. I'm not sure why the codecov check isn't reporting, but it's showing that the patch is 100% covered when you follow the codecov report link.
External hera_qm tests are failing on an upcoming pyuvdata PR because we are adding a warning related to future_array_shapes a long with an option to read object in using the future shape.
~I initially converted the hera_qm code to use the new option whenever a UVData/UVCal/UVFlag object is read in, but then I realized that would only work after the related pyuvdata PR is merged and would require a very recent version of pyuvdata after that. So I changed it to first ensure that hera_qm was always using future shapes (it was in most places but wasn't in a couple places, I figured those were just accidentally overlooked) and then added warnings filters for all the read calls.~
Per the discussion below, this updates the pyuvdata required version to 2.3 and always uses the
future_array_shapes
option when reading files into UVData/UVCal/UVFlag objects. As a part of this update, I also removed some code that is no longer needed now that pyuvdata>=2.3 is required.I also implement some fixtures to reduce repeated code in
test_xrfi
.