Skip to content

Commit

Permalink
Merge branch 'develop' into dev-define-engines-abc
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneahmed authored Dec 18, 2023
2 parents 985e618 + c9a4e58 commit 12bf6be
Show file tree
Hide file tree
Showing 47 changed files with 5,905 additions and 1,683 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: TissueImageAnalytics/tiatoolbox
image: ghcr.io/tissueimageanalytics/tiatoolbox
TOOLBOX_VER: 1.4.1
TOOLBOX_VER: 1.5.1

jobs:
build-and-push-image:
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/mypy-type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,4 @@ jobs:
tiatoolbox/__main__.py \
tiatoolbox/typing.py \
tiatoolbox/tiatoolbox.py \
tiatoolbox/utils/__init__.py \
tiatoolbox/utils/env_detection.py \
tiatoolbox/utils/exceptions.py \
tiatoolbox/utils/image.py \
tiatoolbox/utils/magic.py \
tiatoolbox/utils/metrics.py \
tiatoolbox/utils/transforms.py \
tiatoolbox/utils/misc.py
tiatoolbox/utils/*.py
10 changes: 7 additions & 3 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@
- TIA Centre led by Nasir Rajpoot <[email protected]>
- Shan E Ahmed Raza \<@shaneahmed>
- John Pocock \<@John-P>
- Mark Eastwood \<@measty>
- Simon Graham \<@simongraham>
- Dang Vu \<@vqdang>
- Mostafa Jahanifar \<@mostafajahanifar>
- David Epstein \<@DavidBAEpstein>
- Mark Eastwood \<@measty>
- Srijay Deshpande \<@Srijay-lab>
- Ruqayya Awan \<@ruqayya>
- Adam Shephard \<@adamshephard>
- Ruqayya Awan \<@ruqayya>
- Abdullah Alsalemi \<@Abdol>
- Dmitrii Blaginin \<@blaginin>
- Srijay Deshpande \<@Srijay-lab>
- Jiaqi Lv\<@Jiaqi-Lv>
- George Hadjigeorgiou \<@ghadjigeorghiou>
- Abishekraj Vinayagar Gnanasambandam \<@AbishekRajVG>
- Wenqi Lu \<@wenqi006>
- Saad Bashir \<@rajasaad>

Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ authors:
given-names: "Shan E Ahmed"
orcid: "https://orcid.org/0000-0002-1097-1738"
title: "TIAToolbox as an end-to-end library for advanced tissue image analytics"
version: 1.4.1 # TIAToolbox version
version: 1.5.1 # TIAToolbox version
doi: 10.5281/zenodo.5802442
date-released: 2022-10-20
url: "https://github.com/TissueImageAnalytics/tiatoolbox"
Expand Down
54 changes: 54 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# History

## 1.5.1 (2023-12-16)

### Development related changes

- Specifies compatible Python versions
- Fixes `tiatoolbox-feedstock` build for conda-forge release #763

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

## 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:** https://github.com/TissueImageAnalytics/tiatoolbox/compare/v1.4.0...v1.5.0

## 1.4.1 (2023-07-25)

### Bug Fixes and Other Changes
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include requirements/requirements.txt
include make.bat
include Makefile
include conf.py
include tiatoolbox/visualization/bokeh_app/templates/index.html

recursive-include tests *
recursive-include docs
Expand Down
Binary file added docs/images/dual_win.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/properties_window.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/type_select.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/vis_gland_cmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/vis_graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/visualize_interface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Welcome to TIA Toolbox's documentation!
Pre-trained Models <pretrained.rst>
Jupyter Notebooks <notebooks.rst>
Algorithms <algorithms.rst>
Visualization <visualization.rst>
API Reference <_autosummary/tiatoolbox>
Contributing <contributing.rst>
Authors <authors.rst>
Expand Down
2 changes: 2 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.. highlight:: shell

.. _installation:

Installation
************

Expand Down
Loading

0 comments on commit 12bf6be

Please sign in to comment.