Skip to content

ALMA util fix: WCS indexing takes only integers - #782

Merged
keflavich merged 1 commit into
astropy:masterfrom
keflavich:alma_util_wcs_fix
Nov 1, 2016
Merged

keflavich merged 1 commit into
astropy:masterfrom
keflavich:alma_util_wcs_fix

Conversation

@keflavich

Copy link
Copy Markdown
Contributor

Fixes issues seen in #771 and #780 builds

@keflavich
keflavich merged commit 7010fab into astropy:master Nov 1, 2016
@keflavich
keflavich deleted the alma_util_wcs_fix branch November 1, 2016 18:48
@keflavich

Copy link
Copy Markdown
Contributor Author

@MSeifert04 this PR solved the issue in #771 (comment). I don't think anything is needed upstream - it makes sense to fail when non-integer indices are given. That way, the user is forced to determine whether to round or truncate the floats to ints (in this case, I chose truncation).

@MSeifert04

Copy link
Copy Markdown
Contributor

@keflavich ok, thanks for the notification. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants