Skip to content

Conversation

@adrn
Copy link
Contributor

@adrn adrn commented Mar 30, 2020

  • Use the pip requirements in the anaconda environment file (to avoid duplication)
  • Pinned reproject because with astropy 4.0.1 and reproject 0.6, we are unable to import reproject:
KeyErrorTraceback (most recent call last)
<ipython-input-1-5087be31c7cf> in <module>
     15 from astroquery.utils import TableList
     16 from astropy.wcs import WCS
---> 17 from reproject import reproject_interp

~/project/venv/lib/python3.7/site-packages/reproject/__init__.py in <module>
     11 
     12 if not _ASTROPY_SETUP_:  # noqa
---> 13     from .interpolation import reproject_interp  # noqa
     14     from .spherical_intersect import reproject_exact  # noqa
     15     from .healpix import reproject_from_healpix, reproject_to_healpix  # noqa

~/project/venv/lib/python3.7/site-packages/reproject/interpolation/__init__.py in <module>
      3 Routines to carry out reprojection by interpolation.
      4 """
----> 5 from .high_level import *  # noqa

~/project/venv/lib/python3.7/site-packages/reproject/interpolation/high_level.py in <module>
     17 @deprecated_renamed_argument('independent_celestial_slices', None, since='0.6')
     18 def reproject_interp(input_data, output_projection, shape_out=None, hdu_in=0,
---> 19                      order='bilinear', output_array=None, return_footprint=True):
     20     """
     21     Reproject data to a new projection using interpolation (this is typically

~/project/venv/lib/python3.7/site-packages/astropy/utils/decorators.py in decorator(function)
    441             else:
    442                 if new_name[i] is None:
--> 443                     param = arguments[old_name[i]]
    444                 elif new_name[i] in arguments:
    445                     param = arguments[new_name[i]]

KeyError: 'independent_celestial_slices'
KeyError: 'independent_celestial_slices'

@pllim
Copy link
Contributor

pllim commented Mar 30, 2020

@adrn
Copy link
Contributor Author

adrn commented Mar 30, 2020

@pllim so fast! I was just about to reference that issue 😄

@adrn adrn merged commit 9c72e3d into astropy-learn:master Mar 30, 2020
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