Skip to content

Commit

Permalink
Deprecate growValidPolygons in make_psf_matched_warp
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed Dec 3, 2024
1 parent 19a5875 commit 2e8e791
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions python/lsst/pipe/tasks/make_psf_matched_warp.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@

import warnings

from deprecated.sphinx import deprecated
from .coaddBase import growValidPolygons as growValidPolygonsNew


@deprecated(version="v29",
reason="Please use growValidPolygons from lsst.pipe.tasks.coaddBase instead.",
category=FutureWarning,
)
def growValidPolygons(*args, **kwargs):
"""Deprecated alias to lsst.pipe.tasks.coaddBase.growValidPolygons."""
return growValidPolygonsNew(*args, **kwargs)


try:
from lsst.drp.tasks.make_psf_matched_warp import ( # noqa: F401
MakePsfMatchedWarpConfig,
Expand Down

0 comments on commit 2e8e791

Please sign in to comment.