Skip to content

Commit 271391e

Browse files
authored
Merge pull request #775 from lsst/tickets/DM-49263-v29
DM-49263-v29: Shift removal to post-v29 to reflect deprecation in v29 (forward-port).
2 parents a2bc5ad + 148563f commit 271391e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

include/lsst/afw/image/PhotoCalib.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -345,14 +345,14 @@ class PhotoCalib final : public table::io::PersistableFacade<PhotoCalib>, public
345345
*
346346
* @param maskedImage The masked image to calibrate.
347347
* @param includeScaleUncertainty Deprecated and ignored; will be removed
348-
* after v30.
348+
* after v29.
349349
*
350350
* @return The calibrated masked image.
351351
*/
352352
MaskedImage<float> calibrateImage(MaskedImage<float> const &maskedImage) const;
353353
// TODO[DM-49400]: remove the overload below.
354354
[[deprecated(
355-
"The includeScaleUncertainty option is deprecated and does nothing. Will be removed after v30."
355+
"The includeScaleUncertainty option is deprecated and does nothing. Will be removed after v29."
356356
)]]
357357
MaskedImage<float> calibrateImage(MaskedImage<float> const &maskedImage,
358358
bool includeScaleUncertainty) const;
@@ -367,14 +367,14 @@ class PhotoCalib final : public table::io::PersistableFacade<PhotoCalib>, public
367367
*
368368
* @param maskedImage The masked image with pixel units of nJy to uncalibrate.
369369
* @param includeScaleUncertainty Deprecated and ignored; will be removed
370-
* after v30.
370+
* after v29.
371371
*
372372
* @return The uncalibrated masked image.
373373
*/
374374
MaskedImage<float> uncalibrateImage(MaskedImage<float> const &maskedImage) const;
375375
// TODO[DM-49400]: remove the overload below.
376376
[[deprecated(
377-
"The includeScaleUncertainty option is deprecated and does nothing. Will be removed after v30."
377+
"The includeScaleUncertainty option is deprecated and does nothing. Will be removed after v29."
378378
)]]
379379
MaskedImage<float> uncalibrateImage(MaskedImage<float> const &maskedImage,
380380
bool includeScaleUncertainty) const;

python/lsst/afw/image/_photoCalibContinued.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def calibrateImage(self, maskedImage, includeScaleUncertainty=_UnsetEnum.UNSET):
121121
maskedImage : `lsst.afw.image.MaskedImage`
122122
The masked image to calibrate.
123123
includeScaleUncertainty : `bool`, optional
124-
Deprecated and ignored; will be removed after v30.
124+
Deprecated and ignored; will be removed after v29.
125125
126126
Returns
127127
------
@@ -131,7 +131,7 @@ def calibrateImage(self, maskedImage, includeScaleUncertainty=_UnsetEnum.UNSET):
131131
if includeScaleUncertainty is not _UnsetEnum.UNSET:
132132
warnings.warn(
133133
"The 'includeScaleUncertainty' argument to calibrateImage is deprecated and does "
134-
"nothing. It will be removed after v30.",
134+
"nothing. It will be removed after v29.",
135135
category=FutureWarning
136136
)
137137
return self._calibrateImage(maskedImage)
@@ -149,7 +149,7 @@ def uncalibrateImage(self, maskedImage, includeScaleUncertainty=_UnsetEnum.UNSET
149149
maskedImage : `lsst.afw.image.MaskedImage`
150150
The masked image with pixel units of nJy to uncalibrate.
151151
includeScaleUncertainty : `bool`, optional
152-
Deprecated and ignored; will be removed after v30.
152+
Deprecated and ignored; will be removed after v29.
153153
154154
Returns
155155
uncalibrated : `lsst.afw.image.MaskedImage`
@@ -158,7 +158,7 @@ def uncalibrateImage(self, maskedImage, includeScaleUncertainty=_UnsetEnum.UNSET
158158
if includeScaleUncertainty is not _UnsetEnum.UNSET:
159159
warnings.warn(
160160
"The 'includeScaleUncertainty' argument to uncalibrateImage is deprecated and does "
161-
"nothing. It will be removed after v30.",
161+
"nothing. It will be removed after v29.",
162162
category=FutureWarning
163163
)
164164
return self._uncalibrateImage(maskedImage)

0 commit comments

Comments
 (0)