Skip to content

Commit

Permalink
Merge pull request #299 from lsst/tickets/DM-43062
Browse files Browse the repository at this point in the history
DM-43062: Back out one level of deprecation from DM-42814
  • Loading branch information
parejkoj authored Feb 28, 2024
2 parents d8a3c24 + 204f27f commit 470c3a0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions python/lsst/ip/diffim/psfMatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
import abc
import time

from deprecated.sphinx import deprecated

import numpy as np

import lsst.afw.image as afwImage
Expand All @@ -40,8 +38,8 @@
from . import diffimLib


@deprecated(reason="This config class is no longer used. Will be removed after v27.",
version="v27.0", category=FutureWarning)
# Remove this class on DM-42980.
# Not deprecated-decorated to prevent excessive warnings when using PsfMatchTask.
class DetectionConfig(pexConfig.Config):
"""Configuration for detecting sources on images for building a
PSF-matching kernel
Expand Down Expand Up @@ -140,6 +138,7 @@ class PsfMatchConfig(pexConfig.Config):

warpingConfig = pexConfig.ConfigField("Config for warping exposures to a common alignment",
afwMath.WarperConfig)
# Remove this field on DM-42980.
detectionConfig = pexConfig.ConfigField(
"Controlling the detection of sources for kernel building",
DetectionConfig,
Expand Down

0 comments on commit 470c3a0

Please sign in to comment.