-
Notifications
You must be signed in to change notification settings - Fork 169
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-3562: Extend snowball core #8303
JP-3562: Extend snowball core #8303
Conversation
Updates to the algorithms in stcal contained in spacetelescope/stcal#248 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8303 +/- ##
==========================================
- Coverage 75.31% 75.23% -0.08%
==========================================
Files 474 474
Lines 38965 39000 +35
==========================================
- Hits 29345 29343 -2
- Misses 9620 9657 +37
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
regtest run started at https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1343 |
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.
Regression test failures with errors failed on setup with "IndexError: list index out of range"
and stpipe.config_parser.ValidationError: Config parameter 'snowball_time_masked_next_int(default': missing
were probably caused by the one typo in the spec string.
It looks like these account for all regtest failures except one, an assertion error in lib.tests.test_suffix.[stable-deps] test_suffix_existence
. I didn't look deeply into what this test is for, but it would be good to look into that one a bit more
It also looks like some unit tests might need to be checked. There are some failing tests with TypeError: detect_jumps() got an unexpected keyword argument 'min_diffs_single_pass'
Yet another regtest run started after fixing all the typos in the code: https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1345 |
While looking at the |
FINALLY got a complete regtest run at https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1347/ which shows the same 2 failures as the most recent run against master and are unrelated. So this looks clean. |
The continued failures in the CI tests are due to them using the released version of stcal, which doesn't yet have the corresponding updates needed by this PR. |
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.
I'm incorporating review comments about argument names and descriptions
If it's OK with you, I'd like to merge this as is, now that code at least runs and the argument names have been cleaned up a bit. We can then do another PR to deprecate |
Final regtest run at https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/1349/ Only 2 unrelated failures. This looks clean. |
This PR addresses the need to add two new parameters for the Jump step that control the flagging of cores of snowballs in the next integration.
The two parameters exist in the STCAL code and just need an external interface
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR