-
Notifications
You must be signed in to change notification settings - Fork 156
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-3455: Updated MIRI imager photom step #8096
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #8096 +/- ##
==========================================
- Coverage 75.92% 75.91% -0.02%
==========================================
Files 459 460 +1
Lines 37606 37626 +20
==========================================
+ Hits 28554 28564 +10
- Misses 9052 9062 +10
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@hbushouse Let me know if everything works now. |
All of the CI failures are due to errors in the jwst/photom/tests/test_photom.py unit test module when it tries to access the new "timecoeff" attribute in the ref file model, but it's not defined here, due to the fact that the CI test environment is still using the latest stdatamodels release, rather than stdatamodels/master. @mlibralato Can you try to verify that running "pytest test_photom.py" in your local branch, which presumably has the latest stdatamodels updates, succeeds? |
Also, I still can't run the full regression test suite on this PR branch due to some kind of password protection or permission issue with your fork of the repo. So once you've made the suggested changes on your local PR branch, can you at least run a few of the regression test modules manually, just so we have some kind of assurance that this works OK? To do so, go to the /jwst/jwst/regtest directory in your local branch and execute the MIRI imager tests using:
Note that you have to first setup the environment variable |
I tested the code before pushing it and with the updated stdatamodels I get a "pass". |
The test failed but I wonder if all errors are due to the change in the PHOTOM step itself. |
That's probably the case. I noticed that the differences start with the "cal" product and proceed downstream from there, which is exactly what you'd expect from changes in the photom correction (which is the last step before "cal" is created). |
So, what should I do? Just ignore it for now? Have you solved the issue with the permission? If you show me the error, I can try to see on my end what I can do |
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.
All of the CI failures are due to the use of the last released version of stdatamodels, which doesn't have the updates to the MIRI imager photom data model. Note how the one using "devdeps" passes, because it's using the dev version of stdatamodels. So this all looks OK to me now.
Resolves JP-3455
Closes #8048
This PR is related to proposed changes to the PHOTOM step for the MIRI Imager (and coronographs). We add a time-dependent correction to the PHOTOM value.
Checklist for maintainers
CHANGES.rst
within the relevant release sectionHow to run regression tests on a PR