-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JP-1950: Update ramp fit unit tests #6038
JP-1950: Update ramp fit unit tests #6038
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Does 'Work needs to be done to correct regression tests.' merely mean the truth files need to be updated ?
Yes. I should have made that more clear. The slope estimate change done in this PR effects many calculations. The regression test truth files need to be adjusted to account for this change. |
Codecov Report
@@ Coverage Diff @@
## master #6038 +/- ##
=======================================
Coverage 77.10% 77.10%
=======================================
Files 401 401
Lines 34307 34307
=======================================
Hits 26454 26454
Misses 7853 7853
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just need to update setup.cfg
and requirements-sdp.txt
to have the new version. >= in the first, == in the 2nd. Then all the tests will pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Merge when tests pass.
Closes #3879
Resolves JP-1950
Description
This PR addresses unit tests for ramp fitting. A bug fix was found in the computation of the median first differences of a pixel ramp. Correcting this bug means revising unit and regression tests. The bug fix effected two unit test cases. These tests have been updated to account for the bug fix. Work needs to be done to correct regression tests.
Bugfix in spacetelescope/stcal#12
Checklist