Closed kmacdonald-stsci closed 3 weeks ago
Attention: Patch coverage is 86.95652%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 81.80%. Comparing base (
5f94030
) to head (a83e20b
). Report is 10 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
tests/test_ramp_fitting.py | 77.77% | 6 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Regression test:
https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1769/
Edit: No failures for this test run.
I recreated the orig_gdq
error noted in
https://github.com/spacetelescope/jwst/issues/8842
using the main
branch using the command
strun calwebb_detector1 jw01523003001_03102_00001_mirifulong_uncal.fits --steps.ramp_fit.maximum_cores=half
I verified this PR fixes this error.
@schlafly I believe this PR touches code that Roman also uses, and it looks like Dave is OoO. Are you willing to review this?
Thanks. We turned off the "ordinary" ramp fitting unit tests in romancal ~last month, and for our regression tests we use the Casertano+22 stuff, so I doubt this affects Roman. But I am running some regtests now.
This ran fine on the Roman side, thanks! https://github.com/spacetelescope/RegressionTests/actions/runs/11238326482/job/31242982194
Resolves JP-3734
Closes #
This PR addresses default algorithm testing for ramp fitting. The OLS_C algorithm is now the default algorithm for testing.
This PR also addresses a bug that resulted in incorrect attempts to do the CHARGELOSS recalculations when not needed, which would result in a crash when trying to dereference a
NULL
pointer forrd->orig_gdq
.The PR revealed another bug in the creation of the optional results product. The arrays were being created using
PyArray_EMPTY
, which didn't initialize memory, so unused elements in some of the optional results product arrays were junk. The creation function used now isPyArray_ZEROS
, which initializes the array to zero.Tasks
docs/
pageno-changelog-entry-needed
)changes/
:echo "changed something" > changes/<PR#>.<changetype>.rst
(see below for change types)"git+https://github.com/<fork>/stcal@<branch>"
)jwst
regression testromancal
regression testnews fragment change types...
- ``changes/