diff --git a/jwst/refpix/irs2_subtract_reference.py b/jwst/refpix/irs2_subtract_reference.py index b05261538e..8b7730bb0b 100644 --- a/jwst/refpix/irs2_subtract_reference.py +++ b/jwst/refpix/irs2_subtract_reference.py @@ -78,7 +78,6 @@ def correct_model(output_model, irs2_model, scipix_n_default=16, refpix_r_defaul # of the input model will be copied to output at the end of the step. data = output_model.data.copy() pixeldq = output_model.pixeldq.copy() - output_model.meta.cal_step.refpix = 'not specified yet' # Load the reference file data. # The reference file data are complex, but they're stored as float, with diff --git a/jwst/residual_fringe/tests/test_configuration.py b/jwst/residual_fringe/tests/test_configuration.py index d0253333bb..33ab11b589 100644 --- a/jwst/residual_fringe/tests/test_configuration.py +++ b/jwst/residual_fringe/tests/test_configuration.py @@ -44,7 +44,7 @@ def test_call_residual_fringe(tmp_cwd, miri_image): def test_fringe_flat_applied(tmp_cwd, miri_image): - miri_image.meta.cal_step.fringe = 'SKIP' + miri_image.meta.cal_step.fringe = 'SKIPPED' residual_fringe_reference_file = None regions_reference_file = None save_intermediate_results = False diff --git a/pyproject.toml b/pyproject.toml index 5c487d65b1..26d333cffd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -214,6 +214,7 @@ addopts = [ ] filterwarnings = [ "error::ResourceWarning", + "error::stdatamodels.validate.ValidationWarning", "ignore:Models in math_functions:astropy.utils.exceptions.AstropyUserWarning", ]