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

fix: enforce that ant numbers are uint64 #926

Merged
merged 3 commits into from
Dec 7, 2023
Merged

Conversation

steven-murray
Copy link
Contributor

Fixes writing out uvdta objects according to this PR: RadioAstronomySoftwareGroup/pyuvdata#1357 (comment).

@steven-murray steven-murray self-assigned this Dec 6, 2023
Copy link
Member

@jsdillon jsdillon left a comment

Choose a reason for hiding this comment

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

Do we want to raise an error if doing this casting changes the value? (i.e. if the antpairs are actually non-intergers and/or negative?)

@steven-murray
Copy link
Contributor Author

Currently it will raise a Deprecation warning. We wanna escalate that to error?

Copy link

codecov bot commented Dec 6, 2023

Codecov Report

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

Comparison is base (c2f2c41) 97.18% compared to head (f1ea817) 97.17%.

Files Patch % Lines
hera_cal/io.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #926      +/-   ##
==========================================
- Coverage   97.18%   97.17%   -0.01%     
==========================================
  Files          23       23              
  Lines       10504    10507       +3     
==========================================
+ Hits        10208    10210       +2     
- Misses        296      297       +1     
Flag Coverage Δ
unittests 97.17% <80.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@steven-murray steven-murray merged commit d45df27 into main Dec 7, 2023
6 of 8 checks passed
@steven-murray steven-murray deleted the fix-write-vis branch December 7, 2023 07:47
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