Skip to content

Commit 4d5cbd6

Browse files
authored
🔖 Release 1.5.0 (#761)
## 1.5.0 (2023-12-15) ### Major Updates and Feature Improvements - Adds the bokeh visualization tool. #684 - The tool allows a user to launch a server on their machine to visualise whole slide images, overlay the results of deep learning algorithms or to select a patch from whole slide image and run TIAToolbox deep learning engines. - This tool powers the TIA demos server. For details please see https://tiademos.dcs.warwick.ac.uk/. - Extends Annotation to Support Init from WKB #639 - Adds `IOConfig` for NuClick in `pretrained_model.yaml` #709 - Adds functions to save the TIAToolbox Engine outputs to Zarr and AnnotationStore files. #724 - Adds Support for QuPath Annotation Imports #721 ### Changes to API - Adds `model.to(device)` and `model.load_model_from_file()` functionality to make it compatible with PyTorch API. #733 - Replaces `pretrained` with `weights` to make the engines compatible with the new PyTorch API. #621 - Adds support for high-level imports for various utility functions and classes such as `WSIReader`, `PatchPredictor` and `imread` #606, #607, - Adds `tiatoolbox.typing` for type hints. #619 - Fixes incorrect file size saved by `save_tiles`, issue with certain WSIs raised by @TomastpPereira - TissueMasker transform now returns mask instead of a list. #748 - Fixes #732 ### Bug Fixes and Other Changes - Fixes `pixman` incompability error on Colab #601 - Removes `shapely.speedups`. The module no longer has any affect in Shapely >=2.0. #622 - Fixes errors in the slidegraph example notebook #608 - Fixes bugs in WSI Registration #645, #670, #693 - Fixes the situation where PatchExtractor.get_coords() can return patch coords which lie fully outside the bounds of a slide. #712 - Fixes #710 - Fixes #738 raised by @xiachenrui ### Development related changes - Replaces `flake8` and `isort` with `ruff` #625, #666 - Adds `mypy` checks to `root` and `utils` package. This will be rolled out in phases to other modules. #723 - Adds a module to detect file types using magic number/signatures #616 - Uses `poetry` for version updates instead of `bump2version`. #638 - Removes `setup.cfg` and uses `pyproject.toml` for project configurations. - Reduces runtime for some unit tests e.g., #627, #630, #631, #629 - Reuses models and datasets in tests on GitHub actions by utilising cache #641, #644 - Set up parallel tests locally #671 **Full Changelog:** v1.4.0...v1.5.0
1 parent 01eb4a2 commit 4d5cbd6

File tree

8 files changed

+58
-8
lines changed

8 files changed

+58
-8
lines changed

.github/workflows/docker-publish.yml

+1-1
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.4.1
9+
TOOLBOX_VER: 1.5.0
1010

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

AUTHORS.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@
55
- TIA Centre led by Nasir Rajpoot <[email protected]>
66
- Shan E Ahmed Raza \<@shaneahmed>
77
- John Pocock \<@John-P>
8+
- Mark Eastwood \<@measty>
89
- Simon Graham \<@simongraham>
910
- Dang Vu \<@vqdang>
1011
- Mostafa Jahanifar \<@mostafajahanifar>
1112
- David Epstein \<@DavidBAEpstein>
12-
- Mark Eastwood \<@measty>
13-
- Srijay Deshpande \<@Srijay-lab>
14-
- Ruqayya Awan \<@ruqayya>
1513
- Adam Shephard \<@adamshephard>
14+
- Ruqayya Awan \<@ruqayya>
15+
- Abdullah Alsalemi \<@Abdol>
16+
- Dmitrii Blaginin \<@blaginin>
17+
- Srijay Deshpande \<@Srijay-lab>
18+
- Jiaqi Lv\<@Jiaqi-Lv>
1619
- George Hadjigeorgiou \<@ghadjigeorghiou>
20+
- Abishekraj Vinayagar Gnanasambandam \<@AbishekRajVG>
1721
- Wenqi Lu \<@wenqi006>
1822
- Saad Bashir \<@rajasaad>
1923

CITATION.cff

+1-1
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.4.1 # TIAToolbox version
47+
version: 1.5.0 # TIAToolbox version
4848
doi: 10.5281/zenodo.5802442
4949
date-released: 2022-10-20
5050
url: "https://github.com/TissueImageAnalytics/tiatoolbox"

HISTORY.md

+45
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# History
22

3+
## 1.5.0 (2023-12-15)
4+
5+
### Major Updates and Feature Improvements
6+
7+
- Adds the bokeh visualization tool. #684
8+
- The tool allows a user to launch a server on their machine to visualise whole slide images, overlay the results of deep learning algorithms or to select a patch from whole slide image and run TIAToolbox deep learning engines.
9+
- This tool powers the TIA demos server. For details please see https://tiademos.dcs.warwick.ac.uk/.
10+
- Extends Annotation to Support Init from WKB #639
11+
- Adds `IOConfig` for NuClick in `pretrained_model.yaml` #709
12+
- Adds functions to save the TIAToolbox Engine outputs to Zarr and AnnotationStore files. #724
13+
- Adds Support for QuPath Annotation Imports #721
14+
15+
### Changes to API
16+
17+
- Adds `model.to(device)` and `model.load_model_from_file()` functionality to make it compatible with PyTorch API. #733
18+
- Replaces `pretrained` with `weights` to make the engines compatible with the new PyTorch API. #621
19+
- Adds support for high-level imports for various utility functions and classes such as `WSIReader`, `PatchPredictor` and `imread` #606, #607,
20+
- Adds `tiatoolbox.typing` for type hints. #619
21+
- Fixes incorrect file size saved by `save_tiles`, issue with certain WSIs raised by @TomastpPereira
22+
- TissueMasker transform now returns mask instead of a list. #748
23+
- Fixes #732
24+
25+
### Bug Fixes and Other Changes
26+
27+
- Fixes `pixman` incompability error on Colab #601
28+
- Removes `shapely.speedups`. The module no longer has any affect in Shapely >=2.0. #622
29+
- Fixes errors in the slidegraph example notebook #608
30+
- Fixes bugs in WSI Registration #645, #670, #693
31+
- Fixes the situation where PatchExtractor.get_coords() can return patch coords which lie fully outside the bounds of a slide. #712
32+
- Fixes #710
33+
- Fixes #738 raised by @xiachenrui
34+
35+
### Development related changes
36+
37+
- Replaces `flake8` and `isort` with `ruff` #625, #666
38+
- Adds `mypy` checks to `root` and `utils` package. This will be rolled out in phases to other modules. #723
39+
- Adds a module to detect file types using magic number/signatures #616
40+
- Uses `poetry` for version updates instead of `bump2version`. #638
41+
- Removes `setup.cfg` and uses `pyproject.toml` for project configurations.
42+
- Reduces runtime for some unit tests e.g., #627, #630, #631, #629
43+
- Reuses models and datasets in tests on GitHub actions by utilising cache #641, #644
44+
- Set up parallel tests locally #671
45+
46+
**Full Changelog:** https://github.com/TissueImageAnalytics/tiatoolbox/compare/v1.4.0...v1.5.0
47+
348
## 1.4.1 (2023-07-25)
449

550
### Bug Fixes and Other Changes

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
[tool.poetry]
4949
name = "TIA Centre"
50-
version = "1.4.0"
50+
version = "1.5.0"
5151
description = "test"
5252
authors = ["TIA Centre <[email protected]>"]
5353

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@
6363
test_suite="tests",
6464
tests_require=test_requirements,
6565
url="https://github.com/TissueImageAnalytics/tiatoolbox",
66-
version="1.4.1",
66+
version="1.5.0",
6767
zip_safe=False,
6868
)

tiatoolbox/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
__author__ = """TIA Centre"""
2222
__email__ = "[email protected]"
23-
__version__ = "1.4.1"
23+
__version__ = "1.5.0"
2424

2525
# This will set the tiatoolbox external data
2626
# default to be the user home folder, should work on both Window and Unix/Linux

tiatoolbox/annotation/storage.py

+1
Original file line numberDiff line numberDiff line change
@@ -2377,6 +2377,7 @@ def _unpack_wkb(
23772377
cx: float,
23782378
cy: float,
23792379
) -> bytes:
2380+
"""Unpack WKB data."""
23802381
return (
23812382
self._decompress_data(data)
23822383
if data

0 commit comments

Comments
 (0)