Skip to content

Commit

Permalink
RCAL-479 Test for PSF keywords (DMS-136) (#648)
Browse files Browse the repository at this point in the history
* RCAL-479 Test for PSF keywords

* RCAL-479 Test for PSF keywords update PR
  • Loading branch information
ddavis-stsci authored Feb 21, 2023
1 parent 07cbb07 commit ab78b3b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@

general
-------
- Adds explicit test for PSF keywords are present in the cal files. [#648]

- Add ``pre-commit`` configuration to repository. [#622]

- Update the suffix for the stored filename to match the filename [#609]

- DQ step flags science data affected by guide window read [#599]

- Fix deprecation warnings introduced by ``pytest`` ``7.2`` ahead of ``8.0`` [#597]
Expand Down
8 changes: 8 additions & 0 deletions romancal/regtest/test_wfi_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ def test_level2_image_processing_pipeline(rtdata, ignore_asdf_paths):
passfail("exposure_time" in model.meta.exposure))
assert "exposure_time" in model.meta.exposure

# DMS-136 PSF tests
pipeline.log.info('DMS8136MSG: Testing existence of detector and '
'optical element (detector & optical_element) in Level 2 '
'image output.......' +
passfail("exposure_time" in model.meta.exposure))
assert "detector" in model.meta.instrument
assert "optical_element" in model.meta.instrument

# DMS89 WCS tests
pipeline.log.info('DMS89 MSG: Testing that the wcs bounding'
'box was generated.......' +
Expand Down

0 comments on commit ab78b3b

Please sign in to comment.