Skip to content

Commit

Permalink
Change matchMetadata to matchMeta
Browse files Browse the repository at this point in the history
Astrometry tasks have standardized on matchMeta instead
of matchMetadata for returned results. Adapt to that change.
  • Loading branch information
r-owen committed Aug 13, 2015
1 parent 646f460 commit 086c9dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/multiBand.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def writeMatches(self, dataRef, exposure, sources):
result = self.astrometry.loadAndMatch(exposure=exposure, sourceCat=sources)
if result.matches:
matches = afwTable.packMatches(result.matches)
matches.table.setMetadata(result.matchMetadata)
matches.table.setMetadata(result.matchMeta)
dataRef.put(matches, self.config.coaddName + "Coadd_srcMatch")

def write(self, dataRef, sources):
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/processImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def matchSources(self, exposure, sources):
return None, None

astromRet = astrometry.loadAndMatch(exposure=exposure, sourceCat=sources)
return astromRet.matches, astromRet.matchMetadata
return astromRet.matches, astromRet.matchMeta

def propagateCalibFlags(self, icSources, sources, matchRadius=1):
"""Match the icSources and sources, and propagate Interesting Flags (e.g. PSF star) to the sources
Expand Down

0 comments on commit 086c9dd

Please sign in to comment.