Skip to content

Commit

Permalink
Merge pull request #337 from lsst/tickets/DM-46123
Browse files Browse the repository at this point in the history
DM-46123: Add coord errors to kernel source selector schema
  • Loading branch information
isullivan authored Sep 5, 2024
2 parents 76fe02a + 38b0902 commit 81910dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/lsst/ip/diffim/makeKernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ def __init__(self, *args, **kwargs):
# so cannot easily be constructed with makeSubtask
self.background = SubtractBackgroundTask(config=self.kConfig.afwBackgroundConfig, name="background",
parentTask=self)

self.selectSchema = lsst.afw.table.SourceTable.makeMinimalSchema()
# Add coordinate error fields:
lsst.afw.table.CoordKey.addErrorFields(self.selectSchema)
self.selectAlgMetadata = lsst.daf.base.PropertyList()
self.makeSubtask("selectDetection", schema=self.selectSchema)
self.makeSubtask("selectMeasurement", schema=self.selectSchema, algMetadata=self.selectAlgMetadata)
Expand Down

0 comments on commit 81910dd

Please sign in to comment.