-
Notifications
You must be signed in to change notification settings - Fork 174
fix definition of pixel ratio #7048
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
Conversation
a06ec9c
to
c3500f8
Compare
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.
Codecov ReportBase: 79.60% // Head: 79.61% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #7048 +/- ##
=======================================
Coverage 79.60% 79.61%
=======================================
Files 411 411
Lines 37298 37298
=======================================
+ Hits 29691 29694 +3
+ Misses 7607 7604 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
I do not believe failing tests are related to 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.
Found another error in the original PR that was merged. The changes implemented in terms of handling the drizpars reference file are now producing an error when the "get_reference_file" query to CRDS comes back with "N/A" (i.e. there's no drizpars ref file in CRDS applicable to the particular instrument+mode). The check for ref_filename == 'N/A'
in line 87 of resample_step.py needs to be executed before the call to get_drizpars
is made in line 83. If get_drizpars
is called with a ref file name of "N/A", it throws an error.
You can believe anything you want, but this was in fact leading to 2 different kinds of errors. One has been fixed, now I'm in the process of fixing the other. Always, always, always run a full regression test. Never rely on the built-in CI tests only. |
@hbushouse should i run the regression tests on this branch then before we merge? |
I did one run earlier this morning, which revealed the remaining error (having to do with initializing |
Yay! CI tests have passed and the full regtest run is clean: https://plwishmaster.stsci.edu:8081/job/RT/job/JWST-Developers-Pull-Requests/428/ I'm merging. |
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.
It's all good now.
Fixes an error introduced by #7033 where the pixel scale ratio was incorrectly defined - it is now correctly computed as a ratio of pixel areas.
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR