Skip to content

Commit

Permalink
Cleanup validationwarning (spacetelescope#8976)
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram authored Nov 25, 2024
2 parents 6fc485b + 208e7ce commit 05488e6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion jwst/refpix/irs2_subtract_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion jwst/residual_fringe/tests/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ addopts = [
]
filterwarnings = [
"error::ResourceWarning",
"error::stdatamodels.validate.ValidationWarning",
"ignore:Models in math_functions:astropy.utils.exceptions.AstropyUserWarning",
]

Expand Down

0 comments on commit 05488e6

Please sign in to comment.