patchworks 0.11.14__tar.gz → 0.11.15__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {patchworks-0.11.14 → patchworks-0.11.15}/PKG-INFO +15 -8
- {patchworks-0.11.14 → patchworks-0.11.15}/README.md +10 -7
- {patchworks-0.11.14 → patchworks-0.11.15}/pyproject.toml +2 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/README.md +11 -4
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/pixi.toml +14 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/.github/workflows/docs.yml +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/.github/workflows/lint.yml +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/.github/workflows/release.yml +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/.gitignore +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/.markdownlint-cli2.yaml +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/LICENSE +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/cliff.toml +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/api/chunks.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/api/cluster.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/api/io.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/api/merge_tile_labels.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/api/plugins/cellpose.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/api/plugins/napari.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/api/plugins/ome_zarr.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/api/relabel.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/api/tile_process.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/assets/logo.png +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/examples/cellpose_2d.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/examples/cellpose_2d.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/examples/cellpose_3d.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/examples/cellpose_3d.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/examples/custom.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/examples/custom_method.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/examples/standalone_merge.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/examples/stardist.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/examples/stardist_2d.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/getting_started.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/guide/gpu_distributed.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/guide/merging.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/guide/ome_zarr_napari.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/guide/performance.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/guide/pitfalls.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/guide/skip_empty.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/guide/snakemake.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/guide/tiling.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/docs/index.md +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/mkdocs.yml +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/__init__.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/_chunks.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/_cluster.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/_core.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/_distributed.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/_io.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/_merge.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/_relabel.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/plugins/__init__.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/plugins/cellpose.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/plugins/napari.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/src/patchworks/plugins/ome_zarr.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/tests/test_core.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/tests/test_distributed.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/tests/test_napari.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/tests/test_ome_zarr.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/Snakefile +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/config/config.yaml +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/profile/slurm/config.yaml +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/rules/common.smk +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/rules/convert.smk +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/rules/merge.smk +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/rules/segment.smk +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/scripts/_pw.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/scripts/convert.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/scripts/fetch_model.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/scripts/merge.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/scripts/prepare_tiles.py +0 -0
- {patchworks-0.11.14 → patchworks-0.11.15}/workflow/scripts/segment_tile.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: patchworks
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.15
|
|
4
4
|
Summary: Tiled processing of arbitrarily large images with globally consistent labels
|
|
5
5
|
Project-URL: Homepage, https://github.com/imcf/patchworks
|
|
6
6
|
Project-URL: Issues, https://github.com/imcf/patchworks/issues
|
|
@@ -50,6 +50,10 @@ Requires-Dist: bioio-ome-tiff; extra == 'bioio'
|
|
|
50
50
|
Requires-Dist: bioio-tifffile; extra == 'bioio'
|
|
51
51
|
Provides-Extra: cellpose
|
|
52
52
|
Requires-Dist: cellpose>=3.0; extra == 'cellpose'
|
|
53
|
+
Provides-Extra: cellpose3
|
|
54
|
+
Requires-Dist: cellpose<4,>=3.0; extra == 'cellpose3'
|
|
55
|
+
Provides-Extra: cellpose4
|
|
56
|
+
Requires-Dist: cellpose>=4; extra == 'cellpose4'
|
|
53
57
|
Provides-Extra: dev
|
|
54
58
|
Requires-Dist: psutil; extra == 'dev'
|
|
55
59
|
Requires-Dist: pytest; extra == 'dev'
|
|
@@ -115,12 +119,14 @@ pip install patchworks
|
|
|
115
119
|
Optional extras:
|
|
116
120
|
|
|
117
121
|
```bash
|
|
118
|
-
pip install "patchworks[gpu]"
|
|
119
|
-
pip install "patchworks[cellpose]"
|
|
120
|
-
pip install "patchworks[
|
|
121
|
-
pip install "patchworks[
|
|
122
|
-
pip install "patchworks[
|
|
123
|
-
pip install "patchworks[
|
|
122
|
+
pip install "patchworks[gpu]" # GPU VRAM querying (nvidia-ml-py)
|
|
123
|
+
pip install "patchworks[cellpose]" # Cellpose plugin (>=3.0, v3 or v4)
|
|
124
|
+
pip install "patchworks[cellpose3]" # Cellpose plugin, pinned to v3.x
|
|
125
|
+
pip install "patchworks[cellpose4]" # Cellpose plugin, pinned to v4+
|
|
126
|
+
pip install "patchworks[bioio]" # convert any image format to OME-ZARR
|
|
127
|
+
pip install "patchworks[imaris]" # convert Imaris .ims files to OME-ZARR
|
|
128
|
+
pip install "patchworks[napari]" # interactive napari viewer plugin
|
|
129
|
+
pip install "patchworks[all]" # Everything, incl. the napari viewer
|
|
124
130
|
```
|
|
125
131
|
|
|
126
132
|
> `bioio` reads CZI/LIF/ND2/OME-TIFF/… The `[bioio]` extra bundles the common
|
|
@@ -382,7 +388,8 @@ Optional:
|
|
|
382
388
|
- `psutil` — accurate RAM sizing for `tile_shape="auto"`
|
|
383
389
|
- `nvidia-ml-py` — accurate GPU VRAM sizing
|
|
384
390
|
- `tqdm` — progress bars
|
|
385
|
-
- `cellpose` — Cellpose plugin (`patchworks[cellpose]`)
|
|
391
|
+
- `cellpose` — Cellpose plugin, v3 or v4 (`patchworks[cellpose]`);
|
|
392
|
+
pin with `[cellpose3]` or `[cellpose4]`
|
|
386
393
|
- `bioio` + readers — convert CZI/LIF/ND2/OME-TIFF/… to OME-ZARR
|
|
387
394
|
(`patchworks[bioio]`)
|
|
388
395
|
- `imaris-ims-file-reader` — convert Imaris `.ims` (`patchworks[imaris]`)
|
|
@@ -36,12 +36,14 @@ pip install patchworks
|
|
|
36
36
|
Optional extras:
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
|
-
pip install "patchworks[gpu]"
|
|
40
|
-
pip install "patchworks[cellpose]"
|
|
41
|
-
pip install "patchworks[
|
|
42
|
-
pip install "patchworks[
|
|
43
|
-
pip install "patchworks[
|
|
44
|
-
pip install "patchworks[
|
|
39
|
+
pip install "patchworks[gpu]" # GPU VRAM querying (nvidia-ml-py)
|
|
40
|
+
pip install "patchworks[cellpose]" # Cellpose plugin (>=3.0, v3 or v4)
|
|
41
|
+
pip install "patchworks[cellpose3]" # Cellpose plugin, pinned to v3.x
|
|
42
|
+
pip install "patchworks[cellpose4]" # Cellpose plugin, pinned to v4+
|
|
43
|
+
pip install "patchworks[bioio]" # convert any image format to OME-ZARR
|
|
44
|
+
pip install "patchworks[imaris]" # convert Imaris .ims files to OME-ZARR
|
|
45
|
+
pip install "patchworks[napari]" # interactive napari viewer plugin
|
|
46
|
+
pip install "patchworks[all]" # Everything, incl. the napari viewer
|
|
45
47
|
```
|
|
46
48
|
|
|
47
49
|
> `bioio` reads CZI/LIF/ND2/OME-TIFF/… The `[bioio]` extra bundles the common
|
|
@@ -303,7 +305,8 @@ Optional:
|
|
|
303
305
|
- `psutil` — accurate RAM sizing for `tile_shape="auto"`
|
|
304
306
|
- `nvidia-ml-py` — accurate GPU VRAM sizing
|
|
305
307
|
- `tqdm` — progress bars
|
|
306
|
-
- `cellpose` — Cellpose plugin (`patchworks[cellpose]`)
|
|
308
|
+
- `cellpose` — Cellpose plugin, v3 or v4 (`patchworks[cellpose]`);
|
|
309
|
+
pin with `[cellpose3]` or `[cellpose4]`
|
|
307
310
|
- `bioio` + readers — convert CZI/LIF/ND2/OME-TIFF/… to OME-ZARR
|
|
308
311
|
(`patchworks[bioio]`)
|
|
309
312
|
- `imaris-ims-file-reader` — convert Imaris `.ims` (`patchworks[imaris]`)
|
|
@@ -41,6 +41,8 @@ dependencies = [
|
|
|
41
41
|
[project.optional-dependencies]
|
|
42
42
|
io = ["psutil", "tqdm"]
|
|
43
43
|
cellpose = ["cellpose>=3.0"]
|
|
44
|
+
cellpose3 = ["cellpose>=3.0,<4"]
|
|
45
|
+
cellpose4 = ["cellpose>=4"]
|
|
44
46
|
gpu = ["nvidia-ml-py"]
|
|
45
47
|
# bioio enables converting any image format (CZI, LIF, ND2, OME-TIFF, …) to
|
|
46
48
|
# OME-ZARR. Ships the common native readers (faster than going through Java)
|
|
@@ -41,10 +41,17 @@ pip install "patchworks[workflow,cellpose,imaris,bioio]"
|
|
|
41
41
|
Prefer pixi? No conda needed — a `pixi.toml` is included:
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
pixi install
|
|
45
|
-
pixi
|
|
46
|
-
pixi
|
|
47
|
-
|
|
44
|
+
pixi install # default env (latest compatible Cellpose)
|
|
45
|
+
pixi install -e cellpose3 # pin to Cellpose 3.x
|
|
46
|
+
pixi install -e cellpose4 # pin to Cellpose 4+
|
|
47
|
+
|
|
48
|
+
pixi run dry # dry-run (default env)
|
|
49
|
+
pixi run go # run locally (default env)
|
|
50
|
+
pixi run slurm # submit to SLURM (default env)
|
|
51
|
+
|
|
52
|
+
# To run with a specific Cellpose version:
|
|
53
|
+
pixi run -e cellpose3 go
|
|
54
|
+
pixi run -e cellpose4 go
|
|
48
55
|
```
|
|
49
56
|
|
|
50
57
|
## Configure
|
|
@@ -15,9 +15,23 @@ platforms = ["linux-64"]
|
|
|
15
15
|
[dependencies]
|
|
16
16
|
python = "3.12.*"
|
|
17
17
|
|
|
18
|
+
# Default env uses patchworks[cellpose] (>=3.0, resolves to latest compatible).
|
|
18
19
|
[pypi-dependencies]
|
|
19
20
|
patchworks = { version = "*", extras = ["workflow", "cellpose", "imaris", "bioio"] }
|
|
20
21
|
|
|
22
|
+
# Cellpose-version-pinned features for explicit environments below.
|
|
23
|
+
[feature.cp3.pypi-dependencies]
|
|
24
|
+
cellpose = ">=3.0,<4"
|
|
25
|
+
|
|
26
|
+
[feature.cp4.pypi-dependencies]
|
|
27
|
+
cellpose = ">=4"
|
|
28
|
+
|
|
29
|
+
# Named environments: pixi install -e cellpose3 / -e cellpose4
|
|
30
|
+
# The base patchworks[cellpose] (>=3.0) is further constrained by each feature.
|
|
31
|
+
[environments]
|
|
32
|
+
cellpose3 = { features = ["cp3"], solve-group = "cp3" }
|
|
33
|
+
cellpose4 = { features = ["cp4"], solve-group = "cp4" }
|
|
34
|
+
|
|
21
35
|
[tasks]
|
|
22
36
|
# --rerun-triggers mtime: don't redo finished steps (e.g. the conversion) just
|
|
23
37
|
# because the patchworks version/code changed — only when an output is missing.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|