-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fix bug when setting meta.background in SkyMatchStep. #1233
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1233 +/- ##
=======================================
Coverage 78.93% 78.93%
=======================================
Files 117 117
Lines 8086 8086
=======================================
Hits 6383 6383
Misses 1703 1703
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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, it was time for this update. Thanks @mairanteodoro!
c51a07f
to
ebc5596
Compare
ebc5596
to
d01bf65
Compare
Resolves RCAL-837
This PR addresses a bug in
SkyMatchStep
that was causing meta.background.subtracted to always be set toNone
instead ofTrue
/False
, which was preventingResampleStep
from properly using the sky level as determined bySkyMatchStep
and set inmeta.background.level
.The changes to the code also required some refactoring to the unit tests.
The code changes in this PR are also related to this old issue: spacetelescope/rad#247
Regression tests
The only failed test has nothing to do with the changes in this PR.
https://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/764/https://plwishmaster.stsci.edu:8081/job/RT/job/Roman-Developers-Pull-Requests/770/
Checklist
CHANGES.rst
under the corresponding subsection