Skip to content

Commit fe14d59

Browse files
Update create_pyramids.py, pyproject.toml, pyramid_creator.py, and 1 more file
1 parent 8d364c6 commit fe14d59

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ To enable the Python backend, ask for the required dependencies instead :
1616
pip install pyramid-creator[python_backend]
1717
```
1818

19-
To use the QuPath backend (recommended), a working QuPath installation is required, and the `pyramid-creator` command needs to be aware of its location.
19+
To use the QuPath backend, a working QuPath installation is required, and the `pyramid-creator` command needs to be aware of its location.
2020

21-
To do so, first, install [QuPath](https://qupath.github.io). By default, it will install in AppData\QuPath-0.X.Y. In any case, note down the installation location.
21+
To do so, first, install [QuPath](https://qupath.github.io). By default, it will install in `~\AppData\QuPath-0.X.Y`. In any case, note down the installation location.
2222

2323
Then, you have several options :
2424
- Create a file in your user directory called "QUPATH_PATH" (without extension), containing the full path to the QuPath console executable. In my case, it reads : `C:\Users\glegoc\AppData\Local\QuPath-0.5.1\QuPath-0.5.1 (console).exe`. Then, the `pyramid-creator` script will read this file to find the QuPath executable.

examples/create_pyramids.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from pyramid_creator import pyramidalize_directory
99

10-
images_dir = r"E:\projects\histo\data\GN105\ZEN_EXPORT\SUB"
10+
images_dir = "/path/to/your/images"
1111

1212
# --- Parameters
1313
# Tile size (usually 512 or 1024)

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pyramid-creator"
3-
version = "2024.12.17"
3+
version = "2024.12.18"
44
authors = [{ name = "Guillaume Le Goc", email = "[email protected]" }]
55
description = "Create pyramidal OME-TIFF from regular OME-TIFF images using QuPath or Python backend."
66
readme = "README.md"
@@ -19,7 +19,7 @@ dependencies = [
1919
python_backend = [
2020
"numpy>=2",
2121
"scikit-image>0.22.0",
22-
"tifffile>=2024.4.24"
22+
"tifffile[codecs]>=2024.4.24",
2323
]
2424

2525
[project.urls]

pyramid_creator/pyramid_creator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from tqdm import tqdm
1818
from typing_extensions import Annotated
1919

20-
__version__ = "2024.12.17"
20+
__version__ = "2024.12.18"
2121

2222

2323
# --- Typer functions

0 commit comments

Comments
 (0)