Skip to content

Commit 0ddd2b1

Browse files
authored
🔖 Release 1.6.0 (#898)
## TIAToolbox v1.6.0 (2024-12-12) ### Major Updates and Feature Improvements - **Foundation Models Support via `timm` API** (#856, contributed by @GeorgeBatch) - Introduced `TimmBackbone` for running additional PyTorch Image Models. - Tested models include `UNI`, `Prov-GigaPath`, and `H-optimus-0`. - Added an example notebook demonstrating feature extraction with foundation models. - `timm` added as a dependency. - **Performance Enhancements with `torch.compile`** (#716) - Improved performance on newer GPUs using `torch.compile`. - **Multichannel Input Support in `WSIReader`** (#742) - **AnnotationStore Filtering for Patch Extraction** (#822) - **Python 3.12 Support** - **Deprecation of Python 3.8 Support** - **CLI Response Time Improvements** (#795) ### API Changes - **Device Specification Update** (#882) - Replaced `has_gpu` with `device` for specifying GPU or CPU usage, aligning with PyTorch's `Model.to()` functionality. - **Windows Compatibility Enhancement** (#769) - Replaced `POWER` with explicit multiplication. ### Bug Fixes and Other Changes - **TIFFWSIReader Bound Reading Adjustment** (#777) - Fixed `read_bound` to use adjusted bounds. - Reduced code complexity in `WSIReader` (#814). - **Annotation Rendering Fixes** (#813) - Corrected rendering of annotations with holes. - **Non-Tiled TIFF Support in `WSIReader`** (#807, contributed by @GeorgeBatch) - **HoVer-Net Documentation Update** (#751) - Corrected class output information. - **Citation File Fix for `cffconvert`** (#869, contributed by @Alon-Alexander) - **Bokeh Compatibility Updates** - Updated `bokeh_app` for compatibility with `bokeh>=3.5.0`. - Switched from `size` to `radius` for `bokeh>3.4.0` compatibility (#796). - **JSON Extraction Fixes** (#772) - Restructured SQL expression construction for JSON properties with dots in keys. - **VahadaneExtractor Warning** (#871) - Added warning due to changes in `scikit-learn>0.23.0` dictionary learning (#382). - **PatchExtractor Error Message Refinement** (#883) - **Immutable Output Fix in `WSIReader`** (#850) ### Development-Related Changes - **Mypy Checks Added** - Applied to `utils`, `tools`, `data`, `annotation`, and `cli/common`. - **ReadTheDocs PDF Build Deprecation** - **Formatter Update** - Replaced `black` with `ruff-format`. - **Dependency Removal** - Removed `jinja2`. - **Test Environment Update** - Updated to `Ubuntu 24.04`. - **Conda Environment Workflow Update** - Implemented `micromamba` setup. - **Codecov Reporting Fix** (#811) **Full Changelog:** v1.5.1...v1.6.0
1 parent a38d95f commit 0ddd2b1

File tree

13 files changed

+138
-37
lines changed

13 files changed

+138
-37
lines changed

.github/workflows/conda-env-create.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
cp ./requirements/requirements*.txt /tmp/
4141
mkdir /tmp/docs/
4242
cp ./docs/requirements*.txt /tmp/docs/
43-
- uses: mamba-org/provision-with-micromamba@main
43+
- uses: mamba-org/setup-micromamba@v1
4444
with:
4545
environment-name: tiatoolbox
4646
environment-file: ${{ matrix.requirements }}

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env:
66
REGISTRY: ghcr.io
77
IMAGE_NAME: TissueImageAnalytics/tiatoolbox
88
image: ghcr.io/tissueimageanalytics/tiatoolbox
9-
TOOLBOX_VER: 1.5.1
9+
TOOLBOX_VER: 1.6.0
1010

1111
jobs:
1212
build-and-push-image:

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
sudo apt update
3131
sudo apt-get install -y libopenslide-dev openslide-tools libopenjp2-7 libopenjp2-tools
3232
python -m pip install --upgrade pip
33-
python -m pip install ruff==0.8.1 pytest pytest-cov pytest-runner
33+
python -m pip install ruff==0.8.2 pytest pytest-cov pytest-runner
3434
pip install -r requirements/requirements.txt
3535
- name: Cache tiatoolbox static assets
3636
uses: actions/cache@v3

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ repos:
6060
- id: rst-inline-touching-normal # Detect mistake of inline code touching normal text in rst.
6161
- repo: https://github.com/astral-sh/ruff-pre-commit
6262
# Ruff version.
63-
rev: v0.8.1
63+
rev: v0.8.2
6464
hooks:
6565
- id: ruff
6666
args: [--fix, --exit-non-zero-on-fix]

AUTHORS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@
1111
- Mostafa Jahanifar \<@mostafajahanifar>
1212
- David Epstein \<@DavidBAEpstein>
1313
- Adam Shephard \<@adamshephard>
14-
- Ruqayya Awan \<@ruqayya>
1514
- Abdullah Alsalemi \<@Abdol>
15+
- Ruqayya Awan \<@ruqayya>
16+
- Jiaqi Lv \<@Jiaqi-Lv>
1617
- Dmitrii Blaginin \<@blaginin>
1718
- Srijay Deshpande \<@Srijay-lab>
18-
- Jiaqi Lv\<@Jiaqi-Lv>
1919
- George Hadjigeorgiou \<@ghadjigeorghiou>
2020
- Abishekraj Vinayagar Gnanasambandam \<@AbishekRajVG>
2121
- Wenqi Lu \<@wenqi006>
2222
- Saad Bashir \<@rajasaad>
2323

2424
## Contributors
2525

26+
- George Batchkala \<@GeorgeBatch>
2627
- Rob Jewsbury \<@R-J96>
2728
- Mohsin Bilal \<@mbhahsmi>
2829
- Fayyaz Minhas \<@foxtrotmike>

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ authors:
4444
given-names: "Shan E Ahmed"
4545
orcid: "https://orcid.org/0000-0002-1097-1738"
4646
title: "TIAToolbox as an end-to-end library for advanced tissue image analytics"
47-
version: 1.5.1 # TIAToolbox version
47+
version: 1.6.0 # TIAToolbox version
4848
doi: 10.5281/zenodo.5802442
4949
date-released: 2022-10-20
5050
url: "https://github.com/TissueImageAnalytics/tiatoolbox"

HISTORY.md

Lines changed: 118 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,69 @@
11
# History
22

3-
## 1.5.1 (2023-12-16)
3+
## TIAToolbox v1.6.0 (2024-12-12)
4+
5+
### Major Updates and Feature Improvements
6+
7+
- **Foundation Models Support via `timm` API** (#856, contributed by @GeorgeBatch)
8+
- Introduced `TimmBackbone` for running additional PyTorch Image Models.
9+
- Tested models include `UNI`, `Prov-GigaPath`, and `H-optimus-0`.
10+
- Added an example notebook demonstrating feature extraction with foundation models.
11+
- `timm` added as a dependency.
12+
- **Performance Enhancements with `torch.compile`** (#716)
13+
- Improved performance on newer GPUs using `torch.compile`.
14+
- **Multichannel Input Support in `WSIReader`** (#742)
15+
- **AnnotationStore Filtering for Patch Extraction** (#822)
16+
- **Python 3.12 Support**
17+
- **Deprecation of Python 3.8 Support**
18+
- **CLI Response Time Improvements** (#795)
19+
20+
### API Changes
21+
22+
- **Device Specification Update** (#882)
23+
- Replaced `has_gpu` with `device` for specifying GPU or CPU usage, aligning with PyTorch's `Model.to()` functionality.
24+
- **Windows Compatibility Enhancement** (#769)
25+
- Replaced `POWER` with explicit multiplication.
26+
27+
### Bug Fixes and Other Changes
28+
29+
- **TIFFWSIReader Bound Reading Adjustment** (#777)
30+
- Fixed `read_bound` to use adjusted bounds.
31+
- Reduced code complexity in `WSIReader` (#814).
32+
- **Annotation Rendering Fixes** (#813)
33+
- Corrected rendering of annotations with holes.
34+
- **Non-Tiled TIFF Support in `WSIReader`** (#807, contributed by @GeorgeBatch)
35+
- **HoVer-Net Documentation Update** (#751)
36+
- Corrected class output information.
37+
- **Citation File Fix for `cffconvert`** (#869, contributed by @Alon-Alexander)
38+
- **Bokeh Compatibility Updates**
39+
- Updated `bokeh_app` for compatibility with `bokeh>=3.5.0`.
40+
- Switched from `size` to `radius` for `bokeh>3.4.0` compatibility (#796).
41+
- **JSON Extraction Fixes** (#772)
42+
- Restructured SQL expression construction for JSON properties with dots in keys.
43+
- **VahadaneExtractor Warning** (#871)
44+
- Added warning due to changes in `scikit-learn>0.23.0` dictionary learning (#382).
45+
- **PatchExtractor Error Message Refinement** (#883)
46+
- **Immutable Output Fix in `WSIReader`** (#850)
47+
48+
### Development-Related Changes
49+
50+
- **Mypy Checks Added**
51+
- Applied to `utils`, `tools`, `data`, `annotation`, and `cli/common`.
52+
- **ReadTheDocs PDF Build Deprecation**
53+
- **Formatter Update**
54+
- Replaced `black` with `ruff-format`.
55+
- **Dependency Removal**
56+
- Removed `jinja2`.
57+
- **Test Environment Update**
58+
- Updated to `Ubuntu 24.04`.
59+
- **Conda Environment Workflow Update**
60+
- Implemented `micromamba` setup.
61+
- **Codecov Reporting Fix** (#811)
62+
**Full Changelog:** https://github.com/TissueImageAnalytics/tiatoolbox/compare/v1.5.1...v1.6.0
63+
64+
______________________________________________________________________
65+
66+
## TIAToolbox v1.5.1 (2023-12-16)
467

568
### Development related changes
669

@@ -9,7 +72,9 @@
972

1073
**Full Changelog:** https://github.com/TissueImageAnalytics/tiatoolbox/compare/v1.5.0...v1.5.1
1174

12-
## 1.5.0 (2023-12-15)
75+
______________________________________________________________________
76+
77+
## TIAToolbox v1.5.0 (2023-12-15)
1378

1479
### Major Updates and Feature Improvements
1580

@@ -54,13 +119,17 @@
54119

55120
**Full Changelog:** https://github.com/TissueImageAnalytics/tiatoolbox/compare/v1.4.0...v1.5.0
56121

57-
## 1.4.1 (2023-07-25)
122+
______________________________________________________________________
123+
124+
## TIAToolbox v1.4.1 (2023-07-25)
58125

59126
### Bug Fixes and Other Changes
60127

61128
- Fix dictionary changed size Error #626 (#605)
62129

63-
## 1.4.0 (2023-04-24)
130+
______________________________________________________________________
131+
132+
## TIAToolbox v1.4.0 (2023-04-24)
64133

65134
### Major Updates and Feature Improvements
66135

@@ -109,7 +178,9 @@
109178
- Uses `pyproject.toml` for `bdist_wheel`, `pytest` and `isort`
110179
- Adds `joblib` and `numba` as dependencies.
111180

112-
## 1.3.3 (2023-03-02)
181+
______________________________________________________________________
182+
183+
## TIAToolbox v1.3.3 (2023-03-02)
113184

114185
### Major Updates and Feature Improvements
115186

@@ -127,7 +198,9 @@ None
127198

128199
- Restricts dependency versions for compatibility
129200

130-
## 1.3.2 (2023-02-17)
201+
______________________________________________________________________
202+
203+
## TIAToolbox v1.3.2 (2023-02-17)
131204

132205
### Major Updates and Feature Improvements
133206

@@ -145,7 +218,9 @@ None
145218

146219
- Restricts wsidicom version to \<0.7.0 for compatibility
147220

148-
## 1.3.1 (2022-12-20)
221+
______________________________________________________________________
222+
223+
## TIAToolbox v1.3.1 (2022-12-20)
149224

150225
### Major Updates and Feature Improvements
151226

@@ -172,7 +247,9 @@ None
172247
- Prevent test dumping file to root
173248
- Removes duplicate functions to generate parameterized test scenarios
174249

175-
## 1.3.0 (2022-10-20)
250+
______________________________________________________________________
251+
252+
## TIAToolbox v1.3.0 (2022-10-20)
176253

177254
### Major Updates and Feature Improvements
178255

@@ -214,7 +291,9 @@ None
214291
- Adds pip install workflow to resolve dependencies when requirements file is updated
215292
- Improves tiatoolbox import using LazyLoader
216293

217-
## 1.2.1 (2022-07-07)
294+
______________________________________________________________________
295+
296+
## TIAToolbox v1.2.1 (2022-07-07)
218297

219298
### Major Updates and Feature Improvements
220299

@@ -238,7 +317,9 @@ None
238317
- Adds pre-commit hooks to check requirements consistency.
239318
- Adds GitHub Action to resolve conda environment checks on Windows and Ubuntu.
240319

241-
## 1.2.0 (2022-07-05)
320+
______________________________________________________________________
321+
322+
## TIAToolbox v1.2.0 (2022-07-05)
242323

243324
### Major Updates and Feature Improvements
244325

@@ -270,7 +351,9 @@ None
270351
- Sets up GitHub Actions Workflow.
271352
- Travis CI will be removed in future release.
272353

273-
## 1.1.0 (2022-05-07)
354+
______________________________________________________________________
355+
356+
## TIAToolbox v1.1.0 (2022-05-07)
274357

275358
### Major Updates and Feature Improvements
276359

@@ -311,7 +394,9 @@ None
311394
- Improves CLI definitions to make it easier to integrate new functions.
312395
- Fixes compile options for test_annotation_stores.py
313396

314-
## 1.0.1 (2022-01-31)
397+
______________________________________________________________________
398+
399+
## TIAToolbox v1.0.1 (2022-01-31)
315400

316401
### Major Updates and Feature Improvements
317402

@@ -332,7 +417,9 @@ None
332417
- Fixes flake8 linting issues and typos
333418
- Conditional pytest.skipif to skip GPU tests on travis while running them locally or elsewhere
334419

335-
## 1.0.0 (2021-12-23)
420+
______________________________________________________________________
421+
422+
## TIAToolbox v1.0.0 (2021-12-23)
336423

337424
### Major Updates and Feature Improvements
338425

@@ -375,7 +462,9 @@ None
375462
- On demand imports for some libraries for performance
376463
- Improves performance of mask based patch extraction
377464

378-
## 0.8.0 (2021-10-27)
465+
______________________________________________________________________
466+
467+
## TIAToolbox v0.8.0 (2021-10-27)
379468

380469
### Major Updates and Feature Improvements
381470

@@ -421,7 +510,9 @@ None
421510
- Updates to new GitHub organisation name in the repo
422511
- Fixes related links
423512

424-
## 0.7.0 (2021-09-16)
513+
______________________________________________________________________
514+
515+
## TIAToolbox v0.7.0 (2021-09-16)
425516

426517
### Major and Feature Improvements
427518

@@ -455,7 +546,9 @@ None
455546
- Removes conda build on readthedocs build
456547
- Adds extra checks to pre-commit, e.g., import sorting, spellcheck etc. Detailed list can be found on this [commit](https://github.com/TissueImageAnalytics/tiatoolbox/commit/662a143e915fa55416badd992d8e7358211730a6).
457548

458-
## 0.6.0 (2021-05-11)
549+
______________________________________________________________________
550+
551+
## TIAToolbox v0.6.0 (2021-05-11)
459552

460553
### Major and Feature Improvements
461554

@@ -481,7 +574,7 @@ None
481574

482575
______________________________________________________________________
483576

484-
## 0.5.2 (2021-03-12)
577+
## TIAToolbox v0.5.2 (2021-03-12)
485578

486579
### Bug Fixes and Other Changes
487580

@@ -490,7 +583,7 @@ ______________________________________________________________________
490583

491584
______________________________________________________________________
492585

493-
## 0.5.1 (2020-12-31)
586+
## TIAToolbox v0.5.1 (2020-12-31)
494587

495588
### Bug Fixes and Other Changes
496589

@@ -499,7 +592,7 @@ ______________________________________________________________________
499592

500593
______________________________________________________________________
501594

502-
## 0.5.0 (2020-12-30)
595+
## TIAToolbox v0.5.0 (2020-12-30)
503596

504597
### Major and Feature Improvements
505598

@@ -557,7 +650,7 @@ ______________________________________________________________________
557650

558651
______________________________________________________________________
559652

560-
## 0.4.0 (2020-10-25)
653+
## TIAToolbox v0.4.0 (2020-10-25)
561654

562655
### Major and Feature Improvements
563656

@@ -584,7 +677,7 @@ ______________________________________________________________________
584677

585678
______________________________________________________________________
586679

587-
## 0.3.0 (2020-07-19)
680+
## TIAToolbox v0.3.0 (2020-07-19)
588681

589682
### Major and Feature Improvements
590683

@@ -603,7 +696,7 @@ ______________________________________________________________________
603696

604697
______________________________________________________________________
605698

606-
## 0.2.2 (2020-07-12)
699+
## TIAToolbox v0.2.2 (2020-07-12)
607700

608701
### Major and Feature Improvements
609702

@@ -619,7 +712,7 @@ ______________________________________________________________________
619712

620713
______________________________________________________________________
621714

622-
## 0.2.1 (2020-07-10)
715+
## TIAToolbox v0.2.1 (2020-07-10)
623716

624717
### Major and Feature Improvements
625718

@@ -635,7 +728,7 @@ ______________________________________________________________________
635728

636729
______________________________________________________________________
637730

638-
## 0.2.0 (2020-07-10)
731+
## TIAToolbox v0.2.0 (2020-07-10)
639732

640733
### Major and Feature Improvements
641734

@@ -661,6 +754,6 @@ ______________________________________________________________________
661754

662755
______________________________________________________________________
663756

664-
## 0.1.0 (2020-05-28)
757+
## TIAToolbox v0.1.0 (2020-05-28)
665758

666759
- First release on PyPI.

docs/installation.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,13 @@ After installing `Anaconda <https://docs.anaconda.com/anaconda/install/index.htm
109109
110110
$ conda install -c conda-forge tiatoolbox
111111
112+
or
113+
114+
.. code-block:: console
115+
116+
$ mamba install tiatoolbox
117+
118+
112119
Please note that conda-forge installation support is limited on Windows as openslide binaries are not supported on official conda channels. An alternate way to install using conda on Windows could be to install it in `WSL2 with CUDA support <https://docs.microsoft.com/en-us/windows/ai/directml/gpu-cuda-in-wsl>`_. In some cases, WSL2 runs faster on Python codes and therefore we **recommend** this option.
113120

114121
From sources

0 commit comments

Comments
 (0)