-
Notifications
You must be signed in to change notification settings - Fork 275
Jupyter parallelization #1803
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
Jupyter parallelization #1803
Conversation
Works here if I run a notebook then manually submit the config.json that makes, fails to write temp files from jupyter side.
|
Here's the code health analysis summary for commits Analysis Summary
Code Coverage Report
|
also correct WorkflowInputs vs workflow_inputs
HaleySchuhl
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.
Works great!
This can go in a future PR but I had minor feedback on the docs. I like the parallel_preparation.md addition. I think Why Parallelize can be generalized from what content is there now. Parallel workflows are more reproducible than what can be done with a GUI, and can we maybe add more detail about how consistent a dataset needs to be to analyze in parallel (vs when human-in-the-loop workflows are required).
Describe your changes
Adding a
jupyterconfigclass to run parallel workflows from jupyter directly.So far it just uses the existing parallel tools and the new stuff just lets you automatically convert the notebook to a script and run that script over a dataset.
Type of update
This is a new feature, relies on #1798
Associated issues
Closes #1802
Additional context
There could be a lot of ways to implement this and I'm not sure which is best so I started with the simplest. We can always scrap it.
Depending on how this looks exactly it might be hard to test some things, the current methods mostly check if you're in a notebook before doing most of the function.
For the reviewer
See this page for instructions on how to review the pull request.
plantcv/mkdocs.ymlupdating.md