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

DM-10765: Replace existing WCS classes with SkyWcs #39

Merged
merged 4 commits into from Feb 16, 2018
Merged

Conversation

r-owen
Copy link
Contributor

@r-owen r-owen commented Dec 12, 2017

No description provided.

I left a few that I wasn't sure what to do with.
instead of the deprecated lsst.afw.image.readMetadata
@@ -31,7 +31,7 @@
import sqlite3
import sys
from lsst.afw.fits import readMetadata
import lsst.afw.image as afwImage
from lsst.afw.geom import makeSkyWcs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there's no specific reason not to, I do prefer import ... as ... (as opposed to from ... import ...) so that it is more obvious where the function comes from when used far away from the import statements.

@@ -32,7 +32,7 @@
import sys
import lsst.daf.base as dafBase
from lsst.afw.fits import readMetadata
import lsst.afw.image as afwImage
from lsst.afw.geom import makeSkyWcs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

@r-owen r-owen merged commit d060201 into master Feb 16, 2018
@ktlim ktlim deleted the tickets/DM-10765 branch August 25, 2018 05:50
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.

None yet

2 participants