Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for uvdata3 #453

Merged
merged 3 commits into from
Feb 14, 2024
Merged

Update for uvdata3 #453

merged 3 commits into from
Feb 14, 2024

Conversation

steven-murray
Copy link
Contributor

Updates code to work for pyuvdata v3+. Mostly this means assuming that the results from _key2inds and antpair2inds are possibly slices, rather than arrays of integers. It also fixes a problem with using pytest.warns(None) which is deprecated in pytest 8, and replaces it with pyuvdata.tests.check_warnings(), which is much simpler anyway.

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (3e71720) 97.09% compared to head (6728a34) 97.06%.

Files Patch % Lines
hera_qm/xrfi.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #453      +/-   ##
==========================================
- Coverage   97.09%   97.06%   -0.03%     
==========================================
  Files          11       11              
  Lines        3544     3549       +5     
==========================================
+ Hits         3441     3445       +4     
- Misses        103      104       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@steven-murray
Copy link
Contributor Author

@bhazelton note that the missing coverage line will not be missing for pyuvdata 3. It's impossible to cover for pyuvdata 2.

Copy link
Member

@bhazelton bhazelton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks @steven-murray!

@bhazelton bhazelton merged commit cb86b39 into main Feb 14, 2024
6 of 8 checks passed
@bhazelton bhazelton deleted the update-for-uvdata3 branch February 14, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants