Skip to content

Commit

Permalink
Add TODO comments referencing removal ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed Jun 30, 2023
1 parent 59a90ab commit 9223d6a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/assembleCoadd.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def setDefaults(self):

def validate(self):
super().validate()
if self.doPsfMatch:
if self.doPsfMatch: # TODO: Remove this in DM-39841
# Backwards compatibility.
# Configs do not have loggers
log.warning("Config doPsfMatch deprecated. Setting warpType='psfMatched'")
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/coaddBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class CoaddBaseConfig(pexConfig.Config):
doPsfMatch = pexConfig.Field(
dtype=bool,
doc="Match to modelPsf? Sets makePsfMatched=True, makeDirect=False",
deprecated="This field is no longer used. Will be removed after v27.",
deprecated="This field is no longer used. Will be removed after v27.", # TODO: DM-39841
default=False
)
modelPsf = measAlg.GaussianPsfFactory.makeField(doc="Model Psf factory")
Expand Down
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/makeWarp.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def validate(self):

if not self.makePsfMatched and not self.makeDirect:
raise RuntimeError("At least one of config.makePsfMatched and config.makeDirect must be True")
if self.doPsfMatch:
if self.doPsfMatch: # TODO: Remove this in DM-39841
# Backwards compatibility.
log.warning("Config doPsfMatch deprecated. Setting makePsfMatched=True and makeDirect=False")
self.makePsfMatched = True
Expand Down

0 comments on commit 9223d6a

Please sign in to comment.