Skip to content

Filtering range options#1949

Open
joshqsumner wants to merge 3 commits into
v5.0from
filtering-range-options
Open

Filtering range options#1949
joshqsumner wants to merge 3 commits into
v5.0from
filtering-range-options

Conversation

@joshqsumner

Copy link
Copy Markdown
Contributor

Describe your changes
Adds "in" and "out" modes for pcv.filters.obj_props which use a tuple for the thresh. Currently you could call it twice but sometimes calculating the regionprops is relatively slow so I'd rather be able to do the filtering in one step.

Type of update
This is a feature enhancement

Associated issues
None

Additional context
See 5/08/2026 dev meeting notes

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 added this to the PlantCV v5.0 milestone Jun 9, 2026
@joshqsumner joshqsumner added the enhancement Enhancements to existing features label Jun 9, 2026
@deepsource-io

deepsource-io Bot commented Jun 9, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in c17f75d...832aae9 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Coverage  

Code Review Summary

Analyzer Status Updated (UTC) Details
Python Jun 9, 2026 8:58p.m. Review ↗
Code coverage Jun 9, 2026 8:58p.m. Review ↗

Code Coverage Summary

Language Line Coverage (New Code) Line Coverage (Overall)
Aggregate
100%
[✓ above threshold]
99.9%
[▼ down 0.1% from main]
Python
100%
[✓ above threshold]
99.9%
[▼ down 0.1% from main]

➟ Additional coverage metrics may have been reported. See full coverage report ↗


Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancements to existing features ready to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant