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

add HDUList support to asdf_in_fits.open #136

Merged

Conversation

braingram
Copy link
Collaborator

@braingram braingram commented Mar 1, 2023

Add support for reading ASDF data from an already opened HDUList.

Fixes #135

Also fixes sphinx link in docs that was in #122

Checklist

  • added entry in CHANGES.rst (either in Bug Fixes or Changes to API)
  • updated relevant tests
  • updated relevant documentation
  • updated relevant milestone(s)
  • added relevant label(s)

@codecov
Copy link

codecov bot commented Mar 1, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.01 🎉

Comparison is base (807f035) 73.11% compared to head (f18eab2) 73.13%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
+ Coverage   73.11%   73.13%   +0.01%     
==========================================
  Files         101      101              
  Lines        5442     5445       +3     
==========================================
+ Hits         3979     3982       +3     
  Misses       1463     1463              
Flag Coverage Δ
unit 73.13% <100.00%> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
src/stdatamodels/asdf_in_fits.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@braingram braingram marked this pull request as ready for review March 1, 2023 23:21
Copy link
Contributor

@pllim pllim left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

Copy link
Collaborator

@eslavich eslavich left a comment

Choose a reason for hiding this comment

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

FWIW, LGTM2

@WilliamJamieson WilliamJamieson merged commit dec52f9 into spacetelescope:master Mar 8, 2023
@pllim
Copy link
Contributor

pllim commented Mar 8, 2023

Thanks! Please let me know when a new stdatamodels is released, so I can revisit using this downstream. Really appreciate all the quick fixes.

@braingram braingram deleted the feature/asdf_in_fits_hdu branch March 9, 2023 15:29
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.

BUG: asdf_in_fits.open cannot accept HDUList (stdatamodels v1.1.0)
4 participants