Skip to content

Commit

Permalink
Merge pull request #52 from lsst/DM-6183
Browse files Browse the repository at this point in the history
Bug fix: pass schema to sourceSelector task
  • Loading branch information
isullivan committed May 23, 2016
2 parents e633100 + dc690a8 commit 7bf2411
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/lsst/pipe/tasks/imageDifference.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,12 @@ def __init__(self, **kwargs):

if self.config.doUseRegister:
self.makeSubtask("register")
self.schema = afwTable.SourceTable.makeMinimalSchema()

if self.config.doSelectSources:
self.makeSubtask("sourceSelector")
self.makeSubtask("sourceSelector", schema=self.schema)
self.makeSubtask("astrometer")
self.schema = afwTable.SourceTable.makeMinimalSchema()

self.algMetadata = dafBase.PropertyList()
if self.config.doDetection:
self.makeSubtask("detection", schema=self.schema)
Expand Down

0 comments on commit 7bf2411

Please sign in to comment.