-
Notifications
You must be signed in to change notification settings - Fork 265
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
1615 adding houghcircles #1616
1615 adding houghcircles #1616
Conversation
add hough_circle helper function still need to add tests.
test added for hough_circle helper function
add auto_well roi method to roi methods based on new hough_circle helper function.
Here's the code health analysis summary for commits Analysis Summary
Code Coverage Report
|
trying to fix this?
docstringsssssssss space
dostringsssss
remove whitespace
Resolved issues in plantcv/plantcv/_helpers.py with DeepSource Autofix
going to add some debug images to help with parameterizing this function. Also going to add a check to see if the number of found circles is greater than the number of wells |
added a parameter so that this step is not slow if a lot of circles are found, will help user to parameterize function
added a fatal error if no circles are found
removed print statement
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.
Everything works just fine, the only small issue is that in the docs when searching for this function, both auto_wells and auto_grid come up with basically all the same search terms and it's a little hard to find auto_wells. The only thing that distinguishes the docs pages is that auto_wells includes that they are circular rois, which auto_grid's are as well. Might just be something to think about for ease of use down the road.
Describe your changes
Added a hough circle helper function, then one function that uses that helper (auto_wells) along with documentation and tests.
Type of update
Is this a:
Associated issues
Reference associated issue numbers. Does this pull request close any issues?
#1615
Additional context
There are other functions that would be built off of the hough circle helper function, but they would require different data outputs.
For the reviewer
See this page for instructions on how to review the pull request.
plantcv/mkdocs.yml
updating.md