Skip to content

Commit b6a1e91

Browse files
StRigaudC-Achard
andauthored
update pyclesperanto dependency (#117)
* Update README.md (#114) Fix napari-hub shield in README Update News and Citation with eLife data Update README.md * remove prototype --------- Co-authored-by: Cyril Achard <[email protected]>
1 parent b28d3fd commit b6a1e91

File tree

8 files changed

+209
-209
lines changed

8 files changed

+209
-209
lines changed

conda/napari_CellSeg3D_ARM64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies:
1818
- monai[nibabel, einops]>=0.9.0
1919
- tqdm
2020
- scikit-image
21-
- pyclesperanto-prototype
21+
- pyclesperanto
2222
- tqdm
2323
- matplotlib
2424
- napari_cellseg3d

docs/welcome.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ This plugin additionally uses the following libraries and software:
168168
.. _PyTorch: https://pytorch.org/
169169
.. _MONAI project: https://monai.io/
170170
.. _on their website: https://docs.monai.io/en/stable/networks.html#nets
171-
.. _pyclEsperanto: https://github.com/clEsperanto/pyclesperanto_prototype
171+
.. _pyclEsperanto: https://github.com/clEsperanto/pyclesperanto
172172
.. _WNet: https://arxiv.org/abs/1711.08506
173173

174174
.. rubric:: References

napari_cellseg3d/code_models/instance_segmentation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from typing import List
77

88
import numpy as np
9-
import pyclesperanto_prototype as cle
9+
import pyclesperanto as cle
1010
from qtpy.QtWidgets import QWidget
1111
from skimage.measure import label, regionprops
1212
from skimage.morphology import remove_small_objects
@@ -287,7 +287,7 @@ def voronoi_otsu(
287287
BASED ON CODE FROM : napari_pyclesperanto_assistant by Robert Haase
288288
https://github.com/clEsperanto/napari_pyclesperanto_assistant
289289
Original code at :
290-
https://github.com/clEsperanto/pyclesperanto_prototype/blob/master/pyclesperanto_prototype/_tier9/_voronoi_otsu_labeling.py.
290+
https://github.com/clEsperanto/pyclesperanto/blob/d1990e28b1da44a7921890b7bd809d522d3198b8/pyclesperanto/_tier7.py#L409-L448.
291291
292292
Args:
293293
volume (np.ndarray): volume to segment

napari_cellseg3d/dev_scripts/sliding_window_voronoi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Test script for sliding window Voronoi-Otsu segmentation.""."""
22
import numpy as np
3-
import pyclesperanto_prototype as cle
3+
import pyclesperanto as cle
44
from tqdm import tqdm
55

66

notebooks/Colab_inference_demo.ipynb

Lines changed: 201 additions & 201 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies = [
4242
"tqdm",
4343
# "nibabel",
4444
# "pillow",
45-
"pyclesperanto-prototype",
45+
"pyclesperanto",
4646
"tqdm",
4747
"matplotlib",
4848
"pydensecrf2",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ napari[all]>=0.4.14
1313
QtPy
1414
opencv-python>=4.5.5
1515
pre-commit
16-
pyclesperanto-prototype>=0.22.0
16+
pyclesperanto>=0.18.3
1717
matplotlib>=3.4.1
1818
ruff
1919
tifffile>=2022.2.9

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ install_requires =
2424
itk
2525
tqdm
2626
nibabel
27-
pyclesperanto-prototype
27+
pyclesperanto
2828
scikit-image
2929
pillow
3030
tqdm

0 commit comments

Comments
 (0)