spacetelescope / drizzlepac

AstroDrizzle for HST images.
https://drizzlepac.readthedocs.io
BSD 3-Clause "New" or "Revised" License
52 stars 38 forks source link

AstroDrizzle broken with astropy v1.3 #40

Closed gbrammer closed 7 years ago

gbrammer commented 7 years ago

After updating astropy in an astroconda environment, AstroDrizzle now dies with the error: AttributeError: 'module' object has no attribute 'new_table'. The astropy.io.fits.new_table function was deprecated and removed as discussed here.

mcara commented 7 years ago

@gbrammer Sorry for the late response. Drizzlepac itself does not use new_table anywhere, at least I do not think so. However, if I am wrong, could you, please, point to the location in the code where drizzlepac code uses new_table?

On the other hand, our other packages did use new_table and I have tried to fix as many of them as I could find in https://github.com/spacetelescope/drizzlepac/issues/31#issuecomment-278470165 Did you update you astroconda packages to the latest versions?

It may have been that I have missed a couple of places where our code uses new_table. If so, it would be helpful if you could post here the traceback that you are getting and also package versions.

Thanks!

OlyDLG commented 7 years ago

@gbrammer: may I ask which "astroconda environment"?

mcara commented 7 years ago

I am unable to reproduce the problem and without additional info from @gbrammer there is nothing much that I can do on this issue.