Skip to content

Conversation

@joshqsumner
Copy link
Contributor

@joshqsumner joshqsumner commented Sep 24, 2025

Describe your changes
Adding a jupyterconfig class 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.

  • PR functionality reviewed in a Jupyter Notebook
  • All tests pass
  • Test coverage remains 100%
  • Documentation tested
  • New documentation pages added to plantcv/mkdocs.yml
  • Changes to function input/output signatures added to updating.md
  • Code reviewed
  • PR approved

@joshqsumner joshqsumner self-assigned this Sep 24, 2025
@joshqsumner joshqsumner added new feature New feature ideas and solutions work in progress Mark work in progress labels Sep 24, 2025
@deepsource-io
Copy link

deepsource-io bot commented Sep 24, 2025

Here's the code health analysis summary for commits f8f8b08..698c36a. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Python LogoPython✅ SuccessView Check ↗
DeepSource Test coverage LogoTest coverage✅ SuccessView Check ↗

Code Coverage Report

MetricAggregatePython
Branch Coverage100%100%
Composite Coverage100%100%
Line Coverage100%100%
New Branch Coverage100%100%
New Composite Coverage100%100%
New Line Coverage100%, ✅ Above Threshold100%, ✅ Above Threshold

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@joshqsumner joshqsumner changed the base branch from main to v5.0 September 24, 2025 16:00
@joshqsumner joshqsumner added this to the PlantCV v5.0 milestone Sep 24, 2025
@joshqsumner joshqsumner mentioned this pull request Oct 1, 2025
8 tasks
@joshqsumner joshqsumner added ready to review and removed work in progress Mark work in progress labels Oct 15, 2025
@joshqsumner joshqsumner removed their assignment Oct 21, 2025
@HaleySchuhl HaleySchuhl self-requested a review November 17, 2025 15:52
Copy link
Contributor

@HaleySchuhl HaleySchuhl left a 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).

@nfahlgren nfahlgren merged commit 33f8429 into v5.0 Dec 19, 2025
5 checks passed
@nfahlgren nfahlgren deleted the jupyter-parallelization branch December 19, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature New feature ideas and solutions ready to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jupyter Parallelization

4 participants