Skip to content
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

DM-17248: ap_verify should create .json files in the workspace by default #66

Merged
merged 3 commits into from Mar 26, 2019

Conversation

kfindeisen
Copy link
Member

This PR modifies the default location of ap_verify's output Job files to the workspace created by --output. This change is backwards-compatible with scripts that explicitly assign a location.

@kfindeisen kfindeisen requested a review from mrawls March 19, 2019 22:34
Copy link
Contributor

@mrawls mrawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, and I'm very happy to have the ap_verify output files land in the output repo. Please explain why the OptionalFormatDict is necessary; at a glance it seems to make it a bit overly complex but I suspect you use it to avoid a weird situation I'm just not seeing.

python/lsst/ap/verify/metrics.py Outdated Show resolved Hide resolved
tests/test_workspace.py Show resolved Hide resolved
The new behavior is implemented through a template in --metrics-file,
so scripts that redirect output won't see surprising changes.
@kfindeisen kfindeisen merged commit b0dcdfb into master Mar 26, 2019
@kfindeisen kfindeisen deleted the tickets/DM-17248 branch March 26, 2019 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants