Skip to content

Commit

Permalink
Ensure slot aliases are transferred to new Schema
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed Aug 11, 2017
1 parent 080d7ae commit cf02a2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/validate/drp/matchreduce.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def _loadAndMatchCatalogs(self, repo, dataIds, matchRadius,
mapper.addOutputField(Field[float]('base_PsfFlux_magErr',
'PSF magnitude uncertainty'))
newSchema = mapper.getOutputSchema()
newSchema.setAliasMap(schema.getAliasMap())

# Create an object that matches multiple catalogs with same schema
mmatch = MultiMatch(newSchema,
Expand Down

0 comments on commit cf02a2a

Please sign in to comment.