Skip to content

Commit

Permalink
Change getSchema to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscb committed Sep 18, 2018
1 parent 9313e82 commit db4579b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/imageDifference.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def runDataRef(self, sensorRef, templateIdList=None):
forcedSources = self.forcedMeasurement.generateMeasCat(
exposure, diaSources, subtractedExposure.getWcs())
self.forcedMeasurement.run(forcedSources, exposure, diaSources, subtractedExposure.getWcs())
mapper = afwTable.SchemaMapper(forcedSources.getSchema(), diaSources.getSchema())
mapper = afwTable.SchemaMapper(forcedSources.schema, diaSources.schema)
mapper.addMapping(forcedSources.schema.find("base_PsfFlux_flux")[0], "totFlux", True)
mapper.addMapping(forcedSources.schema.find("base_PsfFlux_fluxErr")[0], "totFluxErr", True)
for diaSource, forcedSource in zip(diaSources, forcedSources):
Expand Down

0 comments on commit db4579b

Please sign in to comment.