Skip to content

Commit

Permalink
Use CompareWarp in CoaddDriver by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yalsayyad committed Feb 10, 2018
1 parent 970e84d commit faec93f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions config/coaddDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@

from lsst.utils import getPackageDir

for sub in ("makeCoaddTempExp", "backgroundReference", "assembleCoadd", "processCoadd"):
path = os.path.join(getPackageDir("obs_subaru"), "config", sub + ".py")
from lsst.pipe.tasks.assembleCoadd import CompareWarpAssembleCoaddTask
config.assembleCoadd.retarget(CompareWarpAssembleCoaddTask)

for sub, filename in (("makeCoaddTempExp", "makeCoaddTempExp"),
("backgroundReference", "backgroundReference"),
("assembleCoadd", "compareWarpAssembleCoadd"),
("processCoadd", "processCoadd")):
path = os.path.join(getPackageDir("obs_subaru"), "config", filename + ".py")
if os.path.exists(path):
getattr(config, sub).load(path)

Expand Down

0 comments on commit faec93f

Please sign in to comment.