From d346ef8b5179129cc2197094d98bfc7219e02c1b Mon Sep 17 00:00:00 2001 From: Pierre-Francois Leget Date: Mon, 21 Oct 2024 10:29:49 -0700 Subject: [PATCH] Reduce warning from TreecorrConfig --- .../analysis/tools/actions/vector/calcRhoStatistics.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/lsst/analysis/tools/actions/vector/calcRhoStatistics.py b/python/lsst/analysis/tools/actions/vector/calcRhoStatistics.py index d113cd37..e99a7758 100644 --- a/python/lsst/analysis/tools/actions/vector/calcRhoStatistics.py +++ b/python/lsst/analysis/tools/actions/vector/calcRhoStatistics.py @@ -47,10 +47,10 @@ _LOG = logging.getLogger(__name__) - +# TO DO: Remove TreecorrConfig in here for next major release (DM-47072) @deprecated( reason=( - "TreecorrConfig is no longer a part of analysis_tools (DM-45899)" + "TreecorrConfig is no longer a part of analysis_tools (DM-45899). " "Please use lsst.meas.algorithms.treecorrUtils.TreecorrConfig instead." ), version="v28.0", @@ -174,13 +174,13 @@ class CalcRhoStatistics(KeyedDataAction): }, ) - treecorr = ConfigField[TreecorrConfig]( + treecorr = ConfigField[TreecorrConfigNew]( doc="TreeCorr configuration", ) def setDefaults(self): super().setDefaults() - self.treecorr = TreecorrConfig() + self.treecorr = TreecorrConfigNew() self.treecorr.sep_units = "arcmin" self.treecorr.max_sep = 100.0