Skip to content

Conversation

tj-schultz
Copy link
Contributor

@tj-schultz tj-schultz commented Jan 26, 2024

Describe your changes
Changed default params.color_sequence behavior for watershed. Color_sequence default is now random and restored alongside params.debug.

Type of update

  • New feature or feature enhancement

Associated issues
#1428

Additional context
Unsure if further implementation required.

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

@HaleySchuhl HaleySchuhl linked an issue Feb 2, 2024 that may be closed by this pull request
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (87c25d1) 100.00% compared to head (ddf03ea) 99.98%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##              main    #1441      +/-   ##
===========================================
- Coverage   100.00%   99.98%   -0.02%     
===========================================
  Files          158      158              
  Lines         6970     6973       +3     
===========================================
+ Hits          6970     6972       +2     
- Misses           0        1       +1     
Flag Coverage Δ
unittests 99.98% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
plantcv/plantcv/watershed.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@HaleySchuhl HaleySchuhl self-assigned this Feb 2, 2024
@HaleySchuhl HaleySchuhl added enhancement Enhancements to existing features update Updates an existing feature/method labels Feb 2, 2024
@HaleySchuhl HaleySchuhl added this to the PlantCV v4.3 milestone Feb 2, 2024
@HaleySchuhl
Copy link
Contributor

Thanks @tj-schultz for tackling this open issue with this update. Looks great, so I just approved this PR.

@nfahlgren
Copy link
Member

@all-contributors please add @tj-schultz for code

Copy link
Contributor

@nfahlgren

I've put up a pull request to add @tj-schultz! 🎉

@nfahlgren nfahlgren merged commit 807e79c into danforthcenter:main Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancements to existing features update Updates an existing feature/method
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

randomize color order in debug image of pcv.watershed()
3 participants