diff --git a/CHANGES.rst b/CHANGES.rst index d42a31c58a..3f114b2b1a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -28,6 +28,11 @@ extract_1d - Fixed a bug in the calling of optional MIRI MRS 1d residual fringe correction that could cause defringing to fail in some cases. [#8180] +tweakreg +-------- + +- Update sregion after WCS corrections are applied. [#8158] + 1.13.3 (01-05-2024) =================== diff --git a/jwst/tweakreg/tweakreg_step.py b/jwst/tweakreg/tweakreg_step.py index 1f0202dc0e..4913cb73f0 100644 --- a/jwst/tweakreg/tweakreg_step.py +++ b/jwst/tweakreg/tweakreg_step.py @@ -19,7 +19,7 @@ # LOCAL from ..stpipe import Step -from ..assign_wcs.util import update_fits_wcsinfo +from ..assign_wcs.util import update_fits_wcsinfo, update_s_region_imaging from . import astrometric_utils as amutils from . tweakreg_catalog import make_tweakreg_catalog @@ -473,6 +473,7 @@ def process(self, input): imcat.wcs.name = "FIT-LVL3-{}".format(self.abs_refcat) image_model.meta.wcs = imcat.wcs + update_s_region_imaging(image_model) # Also update FITS representation in input exposures for # subsequent reprocessing by the end-user.