Skip to content

Commit

Permalink
use 2 functions from prototype, install right version
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Oct 18, 2024
1 parent 7b36564 commit 8542157
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions napari_pyclesperanto_assistant/_napari_cle_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,14 @@ def exclude_small_labels(labels:"napari.types.LabelsData", maximum_size: float =
@time_slicer
@_package_ncle
def exclude_labels_with_map_values_out_of_range(values_map:"napari.types.ImageData", labels:"napari.types.LabelsData", minimum_value_range: float = 0, maximum_value_range: float=100) -> "napari.types.LabelsData":
return cle.exclude_labels_with_map_values_out_of_range(values_map, labels, minimum_value_range=minimum_value_range, maximum_value_range=maximum_value_range)
return clep.exclude_labels_with_map_values_out_of_range(values_map, labels, minimum_value_range=minimum_value_range, maximum_value_range=maximum_value_range)


@register_function(menu="Segmentation post-processing > Exclude labels with map values within range (pyclesperanto_prototype)")
@time_slicer
@_package_ncle
def exclude_labels_with_map_values_within_range(values_map:"napari.types.ImageData", labels:"napari.types.LabelsData", minimum_value_range: float = 0, maximum_value_range: float=100) -> "napari.types.LabelsData":
return cle.exclude_labels_with_map_values_within_range(values_map, labels, minimum_value_range=minimum_value_range, maximum_value_range=maximum_value_range)
return clep.exclude_labels_with_map_values_within_range(values_map, labels, minimum_value_range=minimum_value_range, maximum_value_range=maximum_value_range)

@register_function(menu="Segmentation post-processing > Extend labels via Voronoi (pyclesperanto)")
@time_slicer
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ pyopencl
toolz
scikit-image
napari >=0.4.15
pyclesperanto-prototype >=0.22.0
pyclesperanto==0.13.3
pyclesperanto-prototype >=0.24.5
pyclesperanto==0.13.4
magicgui
numpy!=1.19.4
pyperclip
Expand Down

0 comments on commit 8542157

Please sign in to comment.