Skip to content

Commit

Permalink
Decouple assembleCoadd.py from obs_lsst.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Apr 28, 2022
1 parent 3bea952 commit dfaf24f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/LSSTCam-imSim/assembleCoadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@

import os.path

# HACK: Throw away any changes imposed by obs configs.
config = type(config)()

# Load configs shared between assembleCoadd and makeCoaddTempExp
config.load(os.path.join(os.path.dirname(__file__), "coaddBase.py"))

Expand Down
3 changes: 2 additions & 1 deletion pipelines/LsstCamImSim/ApTemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ tasks:
file: $AP_PIPE_DIR/config/LSSTCam-imSim/assembleCoadd.py
# Do not integrate file and pipeline configs until obs config files are
# gone, to make it easier to check for changes on the obs side.
# Copy base pipeline's configs, so that they override Imsim settings.
# Config file wipes out all pre-existing configs, so copy base pipeline
# config on top.
doSelectVisits: True
doNImage: True
assembleStaticSkyModel.doSelectVisits: True
Expand Down

0 comments on commit dfaf24f

Please sign in to comment.