-
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-2922: Minor fixes for MSA source names #8533
Conversation
Regression tests started here: |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8533 +/- ##
==========================================
+ Coverage 57.97% 58.02% +0.04%
==========================================
Files 387 389 +2
Lines 38830 38962 +132
==========================================
+ Hits 22513 22609 +96
- Misses 16317 16353 +36 ☔ View full report in Codecov by Sentry. |
@melanieclarke The two places that also need fixing, in order to account for the new way background slits are labeled, are here: https://github.com/spacetelescope/jwst/blob/master/jwst/master_background/master_background_mos_step.py#L194 and here: https://github.com/spacetelescope/jwst/blob/master/jwst/master_background/nirspec_utils.py#L104 They both try to identify background slits by testing for the string "background" in |
Thanks @hbushouse - I independently found those exact two lines yesterday afternoon. I'll add a fix today. |
Does this also fix the currently failing
|
@braingram - yes, that's the symptom. I'll check that test locally when I have the fix. |
Fix pushed. Running jwst/regtest/test_nirspec_masterbackground.py locally still shows failures, because there are changes from the last truth data, but it no longer fails because the *_masterbg2d.fits file cannot be found. The master_background_mos step now runs. Regression tests restarted here: |
Regression tests show expected differences for the master background test and some unrelated differences for MIRI LRS spec3. |
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.
LGTM
Resolves JP-2922
This PR addresses two minor issues with PR #8442.
Checklist for PR authors (skip items if you don't have permissions or they are not applicable)
CHANGES.rst
within the relevant release sectionupdated relevant documentationHow to run regression tests on a PR