-
Notifications
You must be signed in to change notification settings - Fork 8
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
Global masking #68
Global masking #68
Conversation
Do you have an example of how to use this in the auto-plotter? |
@MatthieuSchaller Thanks for the review, this should work in conjunction with the other two pull requests, I just tagged the lines in the |
I am happy with this to be merged. Does what it should. |
Has this been tested in production yet? I'm concerned about the use of |
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.
Hi @james-trayford,
I reviewed your changes. Everything looks good and works as expected. I added a couple of comments, mostly to improve the readability of the code.
You may also want to add the global mask tag
here https://github.com/james-trayford/velociraptor-python/blob/master/velociraptor-plot#L152 in case someone decides to use auto plotter separately from swift-pipeline.
I think this works, I've replaced the modification of |
Everything looks good! Just added one more comment. Apart from that, I think this branch is ready to be merged after SWIFTSIM/pipeline#25 is |
Apply a global mask to
autoplotter
plots. This can be specified in the pipelineconfig.yaml
, and constructed inregistration.py
. Without specification, no mask is applied.Changes straddle the pipeline and pipeline-configs repositories see also PRs SWIFTSIM/pipeline#25, SWIFTSIM/pipeline-configs#130.