From 7840321efd0043546371ba0564eba062bcd620d1 Mon Sep 17 00:00:00 2001 From: Arun Kannawadi Date: Wed, 25 Sep 2024 16:27:14 -0400 Subject: [PATCH] Deprecate matchingKernelSize from coaddBase --- python/lsst/pipe/tasks/coaddBase.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python/lsst/pipe/tasks/coaddBase.py b/python/lsst/pipe/tasks/coaddBase.py index 3179e5930..0dace618c 100644 --- a/python/lsst/pipe/tasks/coaddBase.py +++ b/python/lsst/pipe/tasks/coaddBase.py @@ -61,11 +61,15 @@ class CoaddBaseConfig(pexConfig.Config): doc="Add photometric calibration variance to warp variance plane.", default=False ) + # TODO: Remove this field in DM-44792. matchingKernelSize = pexConfig.Field( dtype=int, doc="Size in pixels of matching kernel. Must be odd.", default=21, - check=lambda x: x % 2 == 1 + check=lambda x: x % 2 == 1, + deprecated=("This field is deprecated without a replacement. Its value has no effect. " + "Will be removed after v29." + ), )