-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 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 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: mostafajahanifar <[email protected]> Co-authored-by: John Pocock <[email protected]> Co-authored-by: DavidBAEpstein <[email protected]> Co-authored-by: David Epstein <[email protected]> Co-authored-by: Ruqayya Awan <[email protected]> Co-authored-by: Mark Eastwood <[email protected]> Co-authored-by: adamshephard <[email protected]> Co-authored-by: adamshephard <[email protected]> Co-authored-by: Abdol <[email protected]> Co-authored-by: Jiaqi-Lv <[email protected]> Co-authored-by: Abishek <[email protected]> Co-authored-by: Dmitrii Blaginin <[email protected]>
- Loading branch information
1 parent
51f504b
commit bba59ba
Showing
171 changed files
with
37,182 additions
and
25,466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# This workflow will perform code type checking using mypy | ||
|
||
name: mypy type checking | ||
|
||
on: | ||
push: | ||
branches: [ develop, pre-release, master, main ] | ||
pull_request: | ||
branches: [ develop, pre-release, master, main ] | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup mypy | ||
run: | | ||
pip install mypy | ||
- name: Perform type checking | ||
run: | | ||
mypy --install-types --non-interactive --follow-imports=skip \ | ||
tiatoolbox/__init__.py \ | ||
tiatoolbox/__main__.py \ | ||
tiatoolbox/typing.py \ | ||
tiatoolbox/tiatoolbox.py \ | ||
tiatoolbox/utils/*.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,21 +29,29 @@ | |
<a href="https://github.com/TissueImageAnalytics/tiatoolbox/actions/workflows/pip-install.yml"> | ||
<img src="https://img.shields.io/pypi/pyversions/tiatoolbox.svg" alt="Supported Python versions"/> | ||
</a> | ||
<a href="https://github.com/psf/black"> | ||
<img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style black"/> | ||
</a> | ||
<a href="https://github.com/TissueImageAnalytics/tiatoolbox/actions/workflows/python-package.yml"> | ||
<br> | ||
<a href="https://github.com/TissueImageAnalytics/tiatoolbox/actions/workflows/python-package.yml"> | ||
<img src="https://github.com/TissueImageAnalytics/tiatoolbox/actions/workflows/python-package.yml/badge.svg" alt="GitHub Workflow passing"/> | ||
</a> | ||
<a href="https://codecov.io/gh/TissueImageAnalytics/tiatoolbox"> | ||
<img src="https://codecov.io/gh/TissueImageAnalytics/tiatoolbox/branch/master/graph/badge.svg?token=7UZEMacQHm" alt="Code Coverage"/> | ||
</a> | ||
<br> | ||
<br> | ||
<a href="https://github.com/psf/black"> | ||
<img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code Style black"/> | ||
</a> | ||
<a href="https://github.com/astral-sh/ruff"> | ||
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Code Style black"/> | ||
</a> | ||
<br><br> | ||
<a href="#cite-this-repository"><img src="https://img.shields.io/badge/Cite%20this%20repository-BibTeX-brightgreen" alt="DOI"></a> <a href="https://doi.org/10.1038/s43856-022-00186-5"><img src="https://img.shields.io/badge/DOI-10.1038%2Fs43856--022--00186--5-blue" alt="DOI"></a> | ||
<br> | ||
|
||
## Getting Started | ||
|
||
TIAToolbox is a computational pathology toolbox developed by TIA Centre that provides an end-to-end API for pathology image analysis using best practices. It is based on **[PyTorch](https://pytorch.org/)**, a popular deep learning framework that enables efficient and flexible implementation of state-of-the-art algorithms. TIAToolbox supports many features through a command-line interface and can integrate with standard PyTorch modules. It also offers tools for data loading, pre-processing, model inference, post-processing, and visualization. Whether you are a computational, biomedical, or clinical researcher, TIAToolbox can help you get started in digital pathology with minimal effort. | ||
|
||
### All Users | ||
|
||
This package is for those interested in digital pathology: including graduate students, medical staff, members of the TIA Centre and of PathLAKE, and anyone, anywhere, who may find it useful. We will continue to improve this package, taking account of developments in pathology, microscopy, computing and related disciplines. Please send comments and criticisms to **[[email protected]](mailto:[email protected])**. | ||
|
Oops, something went wrong.