spacetelescope / jwst

Python library for science observations from the James Webb Space Telescope
https://jwst-pipeline.readthedocs.io/en/latest/
Other
561 stars 167 forks source link

minor fixes to outlier detection tso unit test #8623

Closed braingram closed 3 months ago

braingram commented 3 months ago

While working on a related issue I noticed a few minor issues with the tso unit test in outlier detection.

Importantly these changes don't cause the test to fail so the current step code is both compatible with the time variability and doesn't modify the input data array. The main benefit of this PR is that the test will now catch regressions for these behaviors.

This PR only modifies a unit test so regression tests will not be run.

Checklist for PR authors (skip items if you don't have permissions or they are not applicable)

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 59.56%. Comparing base (064208c) to head (d02ac25). Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8623 +/- ## ======================================= Coverage 59.56% 59.56% ======================================= Files 391 391 Lines 39285 39285 ======================================= Hits 23402 23402 Misses 15883 15883 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.