-
Notifications
You must be signed in to change notification settings - Fork 181
Fix outlier blot filenames #7784
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 outlier blot filenames #7784
Conversation
hbushouse
left a comment
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.
Updates look good. Needs a change log entry. And a regtest run wouldn't hurt (let me know if you're not allowed to run those anymore).
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #7784 +/- ##
==========================================
- Coverage 76.59% 76.58% -0.01%
==========================================
Files 456 456
Lines 36963 36960 -3
==========================================
- Hits 28310 28307 -3
Misses 8653 8653
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
|
I can't run the regtests anymore, but I've updated the change log. 👍 |
|
I squashed the commits and force-pushed and now it finds it. |
96a6997 to
93df344
Compare
hbushouse
left a comment
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. I'll kick off a regtest run.
This PR addresses very long, redundant file names in
outlier_detectionintermediate products which appears to be a bug in the call toStep.make_output_path()with the argbasenameis used instead ofbasepath. Currently, blot produces files from standard science associations by default with names like:Not ideal. Since the blot image in
outlier_detectionis based on an exposure as modified by the rest of the exposures in the association, it should follow the same naming scheme as the_crfstep results, which are:This PR changes the default naming of blot intermediate products to be:
This PR also fixes the logging in resample to be consistent with what
Step.save_model()echos to the log when writing out a file, making the log easier to read. It also records in the log the intermediate products that are now written out by default in the step.So it goes from this:
to this:
I updated the docs to indicate what these intermediate products are. I also note that
save_intermediate_resultsno longer controls whether these products are written out, as they are always written out now. I'm not doing anything about that right now, only updating the docs to indicate what the current pipeline step does.Checklist for maintainers
CHANGES.rstwithin the relevant release sectionHow to run regression tests on a PR