Closed jsdillon closed 1 year ago
@aewallwi Not asking you for a review (I know you're busy!) but I thought I'd just flag this for you in case you were curious or if it impacted H4C analysis (I doubt it).
Patch coverage: 100.00
% and project coverage change: -0.06
:warning:
Comparison is base (
c7fdf56
) 97.20% compared to head (d86b043
) 97.15%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Thanks for keeping me in the loop @jsdillon! This all looks good :)
This PR fixes a small bug where
.squeeze()
, which is designed to eliminate extraneous dimensions in pyuvdata objects, can also squeeze out dimensions in theflag_array
when the number of polarizations is 1. This PR prevents that by first doing a np.all over the polarization axis, as was intended, then squeezing (which does nothing whenfuture_array_shapes == True
).This PR also fixes a bunch of pep8 stuff.