Skip to content

Commit

Permalink
Merge pull request #342 from clEsperanto/silent-suggestions
Browse files Browse the repository at this point in the history
silent bia-bob suggestions in case the non-prototype pyclesperanto is installed.
  • Loading branch information
haesleinhuepf authored Sep 29, 2024
2 parents e8641c2 + 9e61484 commit 9e79e1d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pyclesperanto_prototype/_bia_bob_plugins.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@

def list_bia_bob_plugins():
"""List of function hints for bia_bob"""
return """ * Set only surface pixels to 1 in destination binary image

# do not recommend anything if pyclesperanto (non-prototype) is installed
try:
import pyclesperanto
return ""
except:
pass


return """
* Set only surface pixels to 1 in destination binary image
cle.binary_edge_detection(source: ndarray, destination: ndarray = None) -> ndarray
* Create a binary image by inverting pixel values in an input image, where all non-zero pixels become 0 and zeros become 1
Expand Down

0 comments on commit 9e79e1d

Please sign in to comment.