-
Notifications
You must be signed in to change notification settings - Fork 25
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
BUG: asdf_in_fits.open cannot accept HDUList (stdatamodels v1.1.0) #135
Comments
I am also not sure about this if HDUList is provided by the user, but whatever that is consistent with
|
Thanks for the detailed issue. Do the changes in #136 address your needs? |
Let's merge #136 and then I can have my Jdaviz PR pull the dev version of stdatamodels. If I pull your fork's branch, the version is gonna get messed up and that messes with dep version resolution in pip. Thanks! |
Good ol'
AsdfInFits.open
was able to acceptastropy.io.fits.HDUList
and parse the contents properly. However, using what I thought is equivalent,asdf_in_fits.open
, instdatamodels
v1.1.0, I get an error. This breaks backward compatibility and blocks:Minimally reproducible example (adapted from Jdaviz regression test):
I don't think you should ask FITS to open something that is already a FITS object.
stdatamodels/src/stdatamodels/asdf_in_fits.py
Line 52 in 5e4c14f
William asked me to cc @braingram
The text was updated successfully, but these errors were encountered: