Skip to content

Commit

Permalink
Update code to use lsst.afw.fits.readMetadata
Browse files Browse the repository at this point in the history
instead of the deprecated lsst.afw.image.readMetadata
  • Loading branch information
r-owen committed Jan 3, 2018
1 parent be04219 commit 21c934f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/obs/cfht/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def getInfo(self, filename):

def getExtensionName(self, md):
""" Get the name of an extension.
@param md: PropertySet like one obtained from afwImage.readMetadata)
@param md: PropertySet like one obtained from lsst.afw.fits.readMetadata)
@return Name of the extension if it exists. None otherwise.
"""
# We have to overwrite this method because some (mostly recent) Megacam
Expand Down

0 comments on commit 21c934f

Please sign in to comment.