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

improve handling for future pyuvdata #915

Merged
merged 1 commit into from
Oct 21, 2023
Merged

Conversation

bhazelton
Copy link
Member

@bhazelton bhazelton commented Oct 20, 2023

This is a small tweak to ensure that hera_cal tests pass on the branch we're using to prepare for version 3.0. Since we haven't reached v3.0 yet the desired code branch isn't being used. This fixes the code to look at the actual function signature rather than the pyuvdata version so the correct branch is used.

The coverage issue is because CI is only running against current pyuvdata versions.

Test the thing that matters -- the function signature. Fixes tests on pyuvdata PRs preparing for version 3.0
@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

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

Comparison is base (102e14f) 97.18% compared to head (820dd60) 97.18%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #915   +/-   ##
=======================================
  Coverage   97.18%   97.18%           
=======================================
  Files          23       23           
  Lines       10444    10446    +2     
=======================================
+ Hits        10150    10152    +2     
  Misses        294      294           
Flag Coverage Δ
unittests 97.18% <83.33%> (+<0.01%) ⬆️

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

Files Coverage Δ
hera_cal/io.py 98.09% <83.33%> (+<0.01%) ⬆️

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

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.

Looks good to me!

@jsdillon jsdillon merged commit 959420a into main Oct 21, 2023
7 of 8 checks passed
@jsdillon jsdillon deleted the future_pyuvdata_compatibility branch October 21, 2023 00:06
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