-
Notifications
You must be signed in to change notification settings - Fork 174
JP-2304: Fix arguments to DarkCurrentStep's make_output_path #6450
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-2304: Fix arguments to DarkCurrentStep's make_output_path #6450
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6450 +/- ##
==========================================
- Coverage 78.30% 78.27% -0.04%
==========================================
Files 409 409
Lines 34740 34757 +17
==========================================
+ Hits 27204 27206 +2
- Misses 7536 7551 +15
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Since it was broken for so long, there probably is not a test. A test should be implemented.
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 to me.
Requisite change log request ...
A quick "grep dark_output *.py" of the regtest directory reveals no hits, hence this is not being tested. Sounds like someone just volunteered to create one. |
Here's an example of an uncal exposure that uses NFRAMES>1 and hence could be used as input to a regtest: |
Note: Two files will need to be added to artifactory for the new regression test. |
Files successfully uploaded to Artifactory. |
Closes #6402
Resolves JP-2304
Description
This PR changes the arguments provided to the DarkCurrentStep's make_output_path, such that the step parameter
dark_output
will now provide the frame-averaged darks in the filename specified, as per the documentation.Aside: is anyone utilizing this output? With this sitting broken for so long, does this mean there are no tests verifying the contents of this file? 😨
Checklist