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

Revert change to pixel_shape #155

Merged
merged 1 commit into from Nov 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.md
@@ -1,3 +1,8 @@
## Version 1.2.7 on 14 November 2018

Restored _naxis, pixel_shape not ready yetŧ


## Version 1.2.6 on 13 November 2018

Replaced _naxis with pixel_shape
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -46,7 +46,7 @@
builtins._ASTROPY_PACKAGE_NAME_ = PACKAGENAME

# VERSION should be PEP386 compatible (http://www.python.org/dev/peps/pep-0386)
VERSION = '1.2.6'
VERSION = '1.2.7'

# Indicates if this version is a release version
RELEASE = 'dev' not in VERSION
Expand Down
2 changes: 1 addition & 1 deletion spherical_geometry/polygon.py
Expand Up @@ -282,7 +282,7 @@ def from_wcs(cls, fitspath, steps=1, crval=None):
wcs = pywcs.WCS(fitspath)
if crval is not None:
wcs.wcs.crval = crval
xa, ya = wcs.pixel_shape
xa, ya = (wcs._naxis1, wcs._naxis2)

length = steps * 4 + 1
X = np.empty(length)
Expand Down