Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
608 commits
Select commit Hold shift + click to select a range
4d8288b
[pre-commit.ci] pre-commit autoupdate (#453)
pre-commit-ci[bot] Aug 30, 2022
fd957af
[skip ci] DEV: Use app.add_css_file.
shaneahmed Aug 30, 2022
1ba4272
DEV: FIX Requirements Versions (#455)
shaneahmed Sep 1, 2022
fb7f884
DOC: Improve 07-advanced-modeling.ipynb (#439)
DavidBAEpstein Sep 2, 2022
e4534d1
NEW: Add SCCNN Cell Detection Architecture (#434)
shaneahmed Sep 2, 2022
fe1112f
NEW: Add MapDe architecture. (#443)
shaneahmed Sep 2, 2022
11b1e10
MAINT: fix typo (#458)
DavidBAEpstein Sep 5, 2022
fcfcfc2
[pre-commit.ci] pre-commit autoupdate (#460)
pre-commit-ci[bot] Sep 5, 2022
cb45dba
DEV: Create pip Install From Git Workflow (#456)
John-P Sep 6, 2022
6e1f151
DOC: JNB-RTD consistency for idars.ipynb (#421)
DavidBAEpstein Sep 6, 2022
966a608
DEP: Remove flake8-sql (#459)
shaneahmed Sep 6, 2022
2720662
DOC: JNB-RTD consistency for 05-patch-prediction.ipynb (#432)
DavidBAEpstein Sep 6, 2022
2e8a0b6
BUG: Fix Flake8 Error B024 (#461)
shaneahmed Sep 6, 2022
61fd43c
ENH: Add Min Mask Ratio Parameter in PatchExtractor (#451)
rogertrullo Sep 6, 2022
f399b8f
DOC: JNB-RTD consistency for full-pipelines/slide-graph.ipynb (#425)
DavidBAEpstein Sep 8, 2022
09eff6c
DOC: JNB-RTD consistency for 01-wsi-reading.ipynb (#429)
DavidBAEpstein Sep 9, 2022
c45ac10
DOC: Change HTML Theme to furo (#457)
shaneahmed Sep 9, 2022
73f9d1f
DOC: Fix Docstring Rendering and Typos (#463)
shaneahmed Sep 9, 2022
89f95c6
DOC: minor changes to 02-stain-normalization.ipynb (#466)
DavidBAEpstein Sep 12, 2022
3d5a375
[skip ci] DOC: Remove `nbgallery` (#469)
shaneahmed Sep 13, 2022
3af817d
NEW: Feature Matching for Deep Feature Based Registration (#440)
ruqayya Sep 13, 2022
8b7855d
DEV: Add `docs/requirements.txt` to `requirements_dev.txt` (#470)
shaneahmed Sep 13, 2022
d047331
Minor cnanges to 04-patch-extraction.ipynb (#468)
DavidBAEpstein Sep 14, 2022
419d7bb
BUG: Fix the `colorbar` Bug with `plt` (#473)
measty Sep 16, 2022
1757f84
DEV: Use `requirements.txt` in `setup.py` (#467)
shaneahmed Sep 23, 2022
3babb4a
DEV: Add macOS To pip Install Workflow (#464)
John-P Sep 23, 2022
fafa65e
DEV: Fix PIP Install Workflow (#477)
shaneahmed Sep 23, 2022
06e8a4f
[skip ci] DOC: Update citation in README.md and CITATION.cff (#480)
shaneahmed Sep 26, 2022
bb0a09a
DEV: Run PIP Workflow `requirements` files Only (#481)
shaneahmed Sep 27, 2022
2595d37
DEV: Improve TIAToolbox Import (#478)
shaneahmed Sep 27, 2022
62dc5bd
Improve 09-multi-task-segmentation.ipynb (#479)
DavidBAEpstein Sep 27, 2022
d938763
DEV: Fix Circular import `wsireader` (#484)
shaneahmed Oct 7, 2022
39af08a
[skip ci] DEV: Remove nbsphinx and replace it with myst-nb. (#454)
shaneahmed Oct 10, 2022
348a1ec
[pre-commit.ci] pre-commit autoupdate (#487)
pre-commit-ci[bot] Oct 11, 2022
00b6e9c
NEW: Add DFBRegistration Function (#465)
ruqayya Oct 13, 2022
bc5ee15
BUG: Read MPP Metadata From NGFF v0.4 Zattrs (#486)
John-P Oct 13, 2022
b0d5981
BUG: Read TIFF Resolution Tags As A Fraction (#489)
John-P Oct 14, 2022
bb4f3a9
ENH: Annotation Storage Additions For Visualization (#445)
measty Oct 18, 2022
ec654f5
NEW: Non-Rigid Registration Using SimpleITK (#488)
ruqayya Oct 20, 2022
3134e7e
[skip ci] DOC: DFBR Jupyter Notebook (#485)
ruqayya Oct 20, 2022
d19d935
BUG: Update HoVer-Net+ Post-processing (#431)
adamshephard Oct 21, 2022
fae4189
BUG: Fix Bug When OME-TIFF Missing Objective Power (#492)
John-P Oct 21, 2022
b2556dd
REL: Release 1.3.0 (#493)
shaneahmed Oct 21, 2022
dd846ec
Merge branch 'master' into develop
shaneahmed Oct 21, 2022
3cefac1
[skip ci] BUG: Fix FLK-D202 No blank lines allowed after function doc…
shaneahmed Oct 21, 2022
aee5481
BUG: Fix R505 flake8 error (#505)
shaneahmed Nov 4, 2022
a90b330
TST: Prevent Test Dumping File To Root (#507)
John-P Nov 4, 2022
6b6fd91
MANT: Refactor Parameterized Tests (#501)
John-P Nov 11, 2022
1f0c8ea
NEW: Add NuClick architecture (#449)
mostafajahanifar Nov 14, 2022
0ee4d7a
ENH: Add Annotation Store Reader (#476)
measty Nov 17, 2022
6553b62
🐳 DEV: Publishing Docker Images (#504)
mostafajahanifar Nov 22, 2022
b603aec
DEV: Update bump2version config (#511)
shaneahmed Nov 23, 2022
b7fdf50
DEV: Update Dependencies (#498)
shaneahmed Nov 24, 2022
9be4bf5
DEV: Fix Flake8 E800 for tests (#512)
shaneahmed Nov 25, 2022
934b145
DOC: Copy Sample SVS Loader From docs-examples-1 (#517)
John-P Dec 6, 2022
7425f3d
[skip ci] DOCS: Simplify Example Notebook 1 (#503)
John-P Dec 6, 2022
3a31586
:sparkles: NEW: DFBR for Registering Images (#510)
ruqayya Dec 9, 2022
e87bf25
DEV: Restrict shapely version to less than 2.0.0 (#520)
shaneahmed Dec 14, 2022
5eec6a3
📝 [skip ci] DOC: DFBR Jupyter Notebook revised (#494)
ruqayya Dec 19, 2022
76fcfff
:bug: BUG: Fix Deepsource Errors (#522)
shaneahmed Dec 20, 2022
b5874b6
🔖 REL: REL: Release 1.3.1 (#524)
shaneahmed Dec 20, 2022
a4f6487
➖ DEV: Remove Python 3.7 Support (#526)
shaneahmed Jan 17, 2023
aab2df9
:arrow_up: DEV: Upgrade dependencies (#527)
shaneahmed Jan 17, 2023
147c77d
:bug: BUG: Fix Flake8 Errors (#528)
shaneahmed Feb 13, 2023
8a7e4cc
:pushpin: DEV: Update isort version (#536)
shaneahmed Feb 13, 2023
bfed42a
:pushpin: DEV: Update black version (#537)
shaneahmed Feb 13, 2023
4007525
:ambulance: BUG: Fix DICOMWSIReader metadata reading (#539)
shaneahmed Feb 16, 2023
633feb7
🔖 REL: Release 1.3.2 (#542)
shaneahmed Feb 17, 2023
ba76880
:boom: API: Change API for SCCNN input (#544)
shaneahmed Feb 20, 2023
287d505
:white_check_mark: TST: Fix Local Tests for Windows/Linux (#550)
shaneahmed Feb 23, 2023
d42f323
:arrow_up: DEP: Fix scipy deprecation (#547)
shaneahmed Feb 24, 2023
0cbef86
:bug: BUG: Fix B028 Flake8 Error (#549)
shaneahmed Mar 2, 2023
e345d64
:pushpin: DEV: Pin scikit-image to less than 0.20 (#551)
shaneahmed Mar 2, 2023
cd0e9c3
:arrow_up: DEP: Update matplotlib Based Code (#545)
shaneahmed Mar 2, 2023
51b638c
🔖 REL: Release 1.3.3 (#554)
shaneahmed Mar 2, 2023
5517d03
:arrow_up: UP: Update Shapely version (#548)
shaneahmed Mar 3, 2023
215591f
:rotating_light: DEV: Use logger Instead Of print (`save_tiles.py`) (…
shaneahmed Mar 3, 2023
2ddab87
:arrow_up: DEV: Upgrade Scikit-image Dependency (#553)
shaneahmed Mar 9, 2023
3f7eedd
:adhesive_bandage: ENH: Apply Stain Augmentation to Tissue Regions (#…
navidstuv Mar 9, 2023
a2930e9
:wrench: DEV: Filter Logger Output to `stdout` and `stderr` (#557)
shaneahmed Mar 10, 2023
54b9e22
:heavy_minus_sign: DEP: Remove `tox` Dependency (#561)
shaneahmed Mar 10, 2023
bf5f7c6
🚨 DEV: Use logger Instead Of print (slide_info.py) (#562)
shaneahmed Mar 13, 2023
adf42f5
:art: ENH: Move `WSIReader` and `WSIMeta` import to top-level (#560)
shaneahmed Mar 13, 2023
8ce0ebf
:memo: DOC: Improve Annotation Store Documentation + Fix Bug (#565)
John-P Mar 16, 2023
6fb0e31
:bug: BUG: Fix Level When Using DICOM `read_region` (#564)
measty Mar 17, 2023
6388513
🐛 BUG: Fix Docker Build for Ubuntu OS(s) (#569)
mostafajahanifar Mar 20, 2023
2122f97
:memo: DOC: Improve Installation Instructions (#567)
shaneahmed Mar 23, 2023
09bd197
:art: Move Models to Top-Level Import (#574)
shaneahmed Mar 24, 2023
6ec1083
🩹 BUG: Fix Parsing Missing Omero Version NGFF Metadata (#568)
John-P Mar 27, 2023
40a1036
:wrench: Use `pyproject.toml` for `bdist_wheel` configuration (#575)
shaneahmed Mar 31, 2023
eb979f3
🔧 Use pyproject.toml for pytest Configuration (#573)
shaneahmed Mar 31, 2023
1529a04
:wrench: Use `pyproject.toml` for `isort` Configuration (#572)
shaneahmed Mar 31, 2023
8b18a44
🔧 Use `pyproject.toml` for `pytest` Configuration (#579)
shaneahmed Mar 31, 2023
41b3c66
✨ Return True for `is_ngff` With Warning Above Max NGFF Version (#577)
John-P Mar 31, 2023
e413e6c
🐛 Fix for Recent `wsidicom` Update (#580)
measty Mar 31, 2023
64b6e31
➕ Add joblib as a dependency (#581)
shaneahmed Apr 3, 2023
e9b7768
:pushpin: Update `black` Version to `23.3.0` (#585)
shaneahmed Apr 6, 2023
dd9ca06
⚡ Faster Filtering in Patch Dataset (#571)
measty Apr 6, 2023
df7655d
📌 Pin Pandas Version to `>=2.0.0` (#583)
shaneahmed Apr 9, 2023
875c2d9
🚨 Use `logger` Instead Of `warnings` for `patchextraction.py` (#589)
shaneahmed Apr 11, 2023
4d62747
✅ Add tests for lazy import (#591)
shaneahmed Apr 12, 2023
5236997
🚨 Use `logger` Instead Of `warnings` for `pyramid.py` and `storage.py…
shaneahmed Apr 14, 2023
f331aac
🚨 Use `logger` Instead Of `warnings` for `utils` Package (#586)
shaneahmed Apr 14, 2023
149324a
:page_facing_up: Update Documentation for License on Model Weights (#…
simongraham Apr 14, 2023
a1d7cc7
[skip ci] :bug: Fix Docstring and License Badge (#593)
shaneahmed Apr 17, 2023
267b91a
✨ Feature Engine for Multi-Task Segmenter (#424)
adamshephard Apr 18, 2023
7541f57
🚨 Use `logger` Instead Of `warnings` for `wsireader.py` (#584)
shaneahmed Apr 21, 2023
4079147
🧑‍💻 Add Notebook URL Replacement Command (#519)
John-P Apr 21, 2023
2ddf346
:recycle: Move `requirements*.txt` to `requirements` Folder (#563)
shaneahmed Apr 21, 2023
84183ed
🐛 Fix `deepsource` Errors (#594)
shaneahmed Apr 21, 2023
8cd1056
:pencil2: Fix Typo (#596)
blaginin Apr 27, 2023
28c52bf
🐛 Fix `MultiTaskSegmentor` Example (#597)
blaginin May 3, 2023
bb78d2e
:arrow_up: Upgrade `numpy` Dependency (#543)
shaneahmed May 3, 2023
6039197
:sparkles: ENH: Add Neighbourhood Querying Support To `AnnotationStor…
John-P May 4, 2023
591482c
🐍 Update Supported Python Versions (add 3.11 ) (#500)
John-P May 5, 2023
e49cb71
🚨 Use `logger` Instead Of `warnings` for `models` Package (#588)
shaneahmed May 5, 2023
1c42e39
🚨 Use `logger` Instead Of `warnings` for `wsi_registration.py` (#587)
shaneahmed May 5, 2023
b879374
🔖 Release 1.4.0 (#600)
shaneahmed May 5, 2023
4814bf7
:bug: Fix `pixman` incompatibility error on Colab (#601)
shaneahmed May 8, 2023
f684b86
[skip ci] :adhesive_bandage: Update notebooks for Google Colab runs …
shaneahmed May 9, 2023
1255ec8
:recycle: High Level `misc` functions Import (#606)
shaneahmed May 19, 2023
b796767
Update README.md (#613)
John-P May 23, 2023
d84ab45
:recycle: Use `__all__` for high level imports (#614)
shaneahmed May 24, 2023
3c29f5c
🐛 Fix Errors with `glymur` Update to `0.12.6` (#612)
shaneahmed May 24, 2023
2982c90
:recycle: Refactor `Resolution` and `Units` (#598)
blaginin May 26, 2023
57c5b00
:recycle: High Level `engines` Import (#607)
shaneahmed May 26, 2023
971ef74
✨ File Magic Detection & NGFF SQLite3 Support (#616)
John-P Jun 9, 2023
25f5f3d
:recycle: Replace deprecated input `pretrained` with `weights` (#621)
shaneahmed Jun 16, 2023
7e05548
[pre-commit.ci] pre-commit autoupdate (#515)
pre-commit-ci[bot] Jun 22, 2023
7369d8d
:wastebasket: Remove `shapely.speedups` (#622)
shaneahmed Jun 23, 2023
e4deac4
:bug: Fix Errors in the `slidegraph` Example Notebook (#608)
measty Jun 23, 2023
d0d4ed6
:white_check_mark: Reduce run time for Mapde test (#627)
shaneahmed Jul 1, 2023
3263379
:test_tube: Improve micronet tests (#630)
shaneahmed Jul 3, 2023
7bc2574
:white_check_mark: Improve tests reduce runtime (#631)
shaneahmed Jul 3, 2023
6c18602
:technologist: Use `poetry` for Version Updates (#638)
shaneahmed Jul 12, 2023
274466f
:technologist: Reduce Test runtime for JP2 (#629)
shaneahmed Jul 12, 2023
6961195
✨ Add `tiatoolbox.typing` for TypeHints (#619)
shaneahmed Jul 12, 2023
1ad6ab6
🎨 Add Typehints for `misc.py` (#620)
shaneahmed Jul 12, 2023
54a6803
🚨 Expand Tile Server API (#513)
measty Jul 12, 2023
336d5e5
:memo: Fix docstrings (#624)
shaneahmed Jul 14, 2023
e8b3d91
[pre-commit.ci] pre-commit autoupdate (#642)
pre-commit-ci[bot] Jul 18, 2023
723c3f2
:recycle: Small tests improvements (#643)
blaginin Jul 19, 2023
3614f61
✅ Reuse models and datasets in tests (#641)
blaginin Jul 19, 2023
15f78a0
:white_check_mark: Upgrade remote sample fixtures (#640)
blaginin Jul 20, 2023
7c12443
Add check for Phase correlation transform (#645)
ruqayya Jul 20, 2023
3715915
:rotating_light: Fix linter errors in line with #625 (#647)
shaneahmed Jul 21, 2023
be6a388
:rotating_light: Fix Linter Error in `cli`, `annotation` and `visuali…
shaneahmed Jul 22, 2023
5231a9d
🚨 Fix Linter Error in `tools`, `utils` and `pre-commit` (#649)
shaneahmed Jul 22, 2023
c69dbb8
:rotating_light: Replace `ruff` with flake8 using basic settings (#650)
shaneahmed Jul 22, 2023
90e6f48
✨ Feature: `wkb` Decoding via `numpy` (#632)
measty Jul 22, 2023
296bd85
🚨 Add `bugbear`. `pep8-naming`, `flake8-commas`, `flake8-print`, `mcc…
shaneahmed Jul 22, 2023
ee714a3
🚨 Add `Perflint`, `flake8-simplify`, `flake8-raise`, `flake8-implicit…
shaneahmed Jul 22, 2023
fba7680
✨ Use `ruff` for Linting (#625)
shaneahmed Jul 22, 2023
2df8289
:rotating_light: Add "NPY" `NumPy-specific rules` Checks (#654)
shaneahmed Jul 23, 2023
7c4840c
:arrow_up: Upgrade `ruff` to Version `0.0.280` (#655)
shaneahmed Jul 24, 2023
9e256f6
[skip ci] :rotating_light: Add linter checks to `01-wsi-reading.ipynb…
shaneahmed Jul 24, 2023
972ae33
[skip ci] 🚨 Add Linter Checks `02-stain-normalization.ipynb` (#657)
shaneahmed Jul 24, 2023
b6548ff
[skip ci]🚨 Add `ruff` Checks `03-tissue-masking.ipynb` (#658)
shaneahmed Jul 24, 2023
c067927
:bug: Fix `dictionary changed size` Error (#626)
shaneahmed Jul 25, 2023
9575a4c
[skip ci]🚨 Add `ruff` Checks for `06-semantic-segmentation` (#660)
shaneahmed Jul 25, 2023
045c52f
[skip ci] :rotating_light: Add `ruff` checks to `04-patch-extraction.…
shaneahmed Jul 25, 2023
e5e3e09
:bookmark: Release v1.4.1 (#662)
shaneahmed Jul 25, 2023
e662000
[skip ci] :rotating_light: Add `ruff` Checks 07-advanced-modeling.ipy…
shaneahmed Jul 25, 2023
d009bbf
🐛 Parse JP2 Boxes By ID Not Position (#651)
John-P Jul 27, 2023
c7447cd
🚨 Add `ruff` Checks to `05-patch-prediction.ipynb` (#665)
shaneahmed Jul 27, 2023
9435622
➖ Remove `isort` and Use `ruff` for sorting imports (#666)
shaneahmed Jul 28, 2023
bfb04ed
🚨 Add `ruff` Checks `10-wsi-registration` (#667)
shaneahmed Jul 28, 2023
b5e12d3
[skip ci] 🚨 Add `ruff` checks to `examples/inference-pipelines` (#668)
shaneahmed Jul 31, 2023
35a7869
:rotating_light: Add `ruff` checks to `examples` notebooks. (#669)
shaneahmed Jul 31, 2023
f445ebb
🐛 Fix `AffineWSITransformer.read_rect()` (#670)
ruqayya Jul 31, 2023
49cc824
[pre-commit.ci] pre-commit autoupdate (#672)
pre-commit-ci[bot] Aug 1, 2023
91f5a7f
💚 Add CI Cache (#644)
blaginin Aug 1, 2023
6eb40a9
:rotating_light: `ruff` tiatoolbox root (#678)
shaneahmed Aug 1, 2023
c1c05ea
🚨 Add `ruff` Checks to `cli` (#680)
shaneahmed Aug 1, 2023
e7d485c
:arrow_up: Update ruff to 0.0.282 (#681)
shaneahmed Aug 2, 2023
d242ed2
🚨 Add `ruff` Checks to All Jupyter Notebooks (#676)
shaneahmed Aug 2, 2023
3689f57
[skip ci] :rotating_light: `ruff` notebooks for #677 (#682)
shaneahmed Aug 2, 2023
4034007
:rotating_light: Fix `ANN201` Errors in `tests` (#683)
shaneahmed Aug 4, 2023
b47175b
:rotating_light: Add `flake8-boolean-trap` Checks (#686)
shaneahmed Aug 7, 2023
f766799
:rotating_light: Add `flake8-bandit` Checks (#687)
shaneahmed Aug 8, 2023
20b81ae
:rotating_light: Add `flake8-unused-arguments` Checks (#688)
shaneahmed Aug 9, 2023
75a9d74
:arrow_up: Upgrade `ruff` to `0.0.283` (#689)
shaneahmed Aug 9, 2023
c4ba2e9
:arrow_up: Upgrade `ruff` to `0.0.284` (#690)
shaneahmed Aug 10, 2023
a5be79f
:adhesive_bandage: Add `imwrite` Check (#646)
blaginin Aug 10, 2023
2da75c6
🚨 Fix Linter Errors in `utils` (#685)
shaneahmed Aug 10, 2023
8ae4eec
🚨 Add `pylint` Checks (#691)
shaneahmed Aug 11, 2023
8615181
🐛 Fix `prealignment` Function (#693)
ruqayya Aug 11, 2023
a157833
:thread: Safer downloads (#673)
blaginin Aug 14, 2023
fd1d649
🚨 Add `flake8-annotations` Checks to `tools` (#694)
shaneahmed Aug 14, 2023
fa31894
:fire: Remove redundant `_rm_dir` in tests. (#695)
shaneahmed Aug 14, 2023
f26387f
:rotating_light: Add `flake8-annotations` to `Visualization` (#696)
shaneahmed Aug 14, 2023
451bdac
✨ Extend Annotation to Support Init from WKB (#639)
John-P Aug 21, 2023
7d9c944
:arrow_up: Upgrade `ruff` (#698)
shaneahmed Aug 21, 2023
e633e56
:rotating_light: Add `flake8-annotations` Checks for `examples` (#699)
shaneahmed Aug 21, 2023
20e7c82
:rotating_light: Fix `flake8-annotations` for `wsicore` (#700)
shaneahmed Aug 23, 2023
c4ca84e
:rotating_light: Add `flake8-annotations` Checks for `engine` (#701)
shaneahmed Aug 23, 2023
98465d6
💚 Parallel tests (#671)
blaginin Aug 23, 2023
2468892
:memo: Fix docstrings in `PatchExtractors` (#697)
measty Aug 23, 2023
2e7eb09
🚨 Fix `flake8-annotations` Checks in `models` (#702)
shaneahmed Aug 24, 2023
eea4531
:arrow_up: Upgrade `ruff` to version `0.0.286` (#704)
shaneahmed Aug 29, 2023
e700a29
[pre-commit.ci] pre-commit autoupdate (#703)
pre-commit-ci[bot] Aug 29, 2023
50b6f33
🚨 Add `flake8-annotations` to `tests\models` and `tests\"root"` (#706)
shaneahmed Aug 29, 2023
e7e5de5
🚨 Add `flake8-annotations` to All Except `tiatoolbox/annotations` (#707)
shaneahmed Aug 30, 2023
eb49f66
:bug: Add `IOConfig` for NuClick in `pretrained_model.yaml` (#709)
mostafajahanifar Sep 1, 2023
459ec03
[pre-commit.ci] pre-commit autoupdate (#711)
pre-commit-ci[bot] Sep 13, 2023
795607d
:bug: Fix `patch_coords` (#712)
measty Sep 13, 2023
a4b942b
[pre-commit.ci] pre-commit autoupdate (#714)
pre-commit-ci[bot] Sep 21, 2023
c6cb65b
🚨 Fix `flake8-annotation` Linter Errors (#713)
Abdol Sep 22, 2023
392cd6b
[pre-commit.ci] pre-commit autoupdate (#715)
pre-commit-ci[bot] Sep 26, 2023
1598970
🚨 Add `ruff` Checks to All Files with All Selected Options (#677)
shaneahmed Sep 26, 2023
edd182c
[pre-commit.ci] pre-commit autoupdate (#717)
pre-commit-ci[bot] Oct 3, 2023
4084244
:arrow_up: Update torch dependency (#719)
shaneahmed Oct 6, 2023
931de99
[pre-commit.ci] pre-commit autoupdate (#720)
pre-commit-ci[bot] Oct 10, 2023
2e9802b
❇️ Add Convert `patches` Output to `AnnotationStore` (#718)
measty Oct 13, 2023
67aeb56
:construction: Add Type Checking using `mypy` (#723)
Jiaqi-Lv Oct 19, 2023
9505af1
:hammer: Add `mypy` Checks to `exceptions.py` (#725)
shaneahmed Oct 23, 2023
7a9fbc9
[pre-commit.ci] pre-commit autoupdate (#727)
pre-commit-ci[bot] Oct 26, 2023
f16c232
❇️ Add Function to Save Engines Output in the `zarr` Format (#724)
AbishekRajVG Oct 26, 2023
e899cec
[pre-commit.ci] pre-commit autoupdate (#730)
pre-commit-ci[bot] Oct 31, 2023
d79178c
:recycle: Add typehints for dataset_abc.py (#726)
blaginin Nov 3, 2023
ec94629
[pre-commit.ci] pre-commit autoupdate (#734)
pre-commit-ci[bot] Nov 8, 2023
5cae516
📝 Fix Example 05 (#736)
measty Nov 8, 2023
77c76c7
:hammer: Add `typing.py` and `env_detection.py` to `mypy` Type Check …
Jiaqi-Lv Nov 10, 2023
4a041ae
[pre-commit.ci] pre-commit autoupdate (#739)
pre-commit-ci[bot] Nov 15, 2023
cca7443
♻️ Update `model_to()` and `load_torch_model()` methods in `ModelABC`…
AbishekRajVG Nov 15, 2023
890e5a3
[pre-commit.ci] pre-commit autoupdate (#741)
pre-commit-ci[bot] Nov 21, 2023
1d3f039
✨ Add Support for `QuPath` Annotation Imports (#721)
measty Nov 22, 2023
8e9545f
:hammer: Add `mypy` Checks (#740)
Jiaqi-Lv Nov 22, 2023
df6e947
:hammer: Add `utils/misc.py` to mypy (#744)
Jiaqi-Lv Nov 29, 2023
30fa13f
:pushpin: Update dependency link for pytorch cuda version (#746)
shaneahmed Nov 30, 2023
a4463ee
:bug: Return `masks` instead of `[mask]` (#748)
Abdol Dec 8, 2023
e0b5f5e
[pre-commit.ci] pre-commit autoupdate (#754)
pre-commit-ci[bot] Dec 12, 2023
3afb52a
:white_check_mark: Add `mypy` checks to `image.py` (#753)
shaneahmed Dec 15, 2023
c3b49e6
✨ Add `bokeh` Visualization (#684)
measty Dec 15, 2023
4edd779
🩹 Fix `save_tiles` (#752)
measty Dec 15, 2023
445c19d
:white_check_mark: Add `mypy` checks to `visualization.py` (#755)
shaneahmed Dec 15, 2023
23fefcd
:memo: Update release notes for version 1.5.0
shaneahmed Dec 15, 2023
05ad6ff
:memo: Update version number to 1.5.0
shaneahmed Dec 15, 2023
16d8aef
:memo: Update links to master and pip install
shaneahmed Dec 15, 2023
81ad7b5
Merge branch 'master' into pre-release
shaneahmed Dec 15, 2023
dc56927
:pushpin: Pin dependencies
shaneahmed Dec 15, 2023
07fde55
[skip ci] :bug: Fix error related to overlay_predictions (#758)
shaneahmed Dec 15, 2023
73af404
Merge branch 'develop' into pre-release
shaneahmed Dec 15, 2023
2778454
:bug: Fix deepsource errors
shaneahmed Dec 15, 2023
6e0ee54
[skip ci] :bug: Fix example notebook 09 (#759)
shaneahmed Dec 15, 2023
01eb4a2
[skip ci] :bug: Fix idars example notebook (#760)
shaneahmed Dec 15, 2023
77b462b
Merge branch 'develop' into pre-release
shaneahmed Dec 15, 2023
9a207d4
:pushpin: Fix pin on dependencies
shaneahmed Dec 15, 2023
6954fe7
[skip ci] :memo: Update HISTORY.md
shaneahmed Dec 15, 2023
e7eac32
[skip ci] :memo: Update AUTHORS.md
shaneahmed Dec 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.0

jobs:
build-and-push-image:
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/mypy-type-check.yml
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
13 changes: 8 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ jobs:
sudo apt update
sudo apt-get install -y libopenslide-dev openslide-tools libopenjp2-7 libopenjp2-tools
python -m pip install --upgrade pip
python -m pip install flake8 pytest pytest-cov pytest-runner
python -m pip install ruff==0.0.286 pytest pytest-cov pytest-runner
pip install -r requirements/requirements.txt
- name: Cache tiatoolbox static assets
uses: actions/cache@v3
with:
key: tiatoolbox-home-static
path: ~/.tiatoolbox
- name: Print Version Information
run: |
echo "---SQlite---"
Expand All @@ -46,12 +51,10 @@ jobs:
python -c "import sqlite3; print('SQLite %s' % sqlite3.sqlite_version)"
python -c "import numpy; print('Numpy %s' % numpy.__version__)"
python -c "import openslide; print('OpenSlide %s' % openslide.__version__)"
- name: Lint with flake8
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
ruff check .
- name: Test with pytest
run: |
pytest --basetemp={envtmpdir} \
Expand Down
45 changes: 10 additions & 35 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ repos:
require_serial: true
language: system
stages: [push]
- id: notebook-check-ast
name: check notebook ast
entry: python pre-commit/notebook_check_ast.py
types_or: [jupyter]
language: python
- id: notebook-markdown-format
name: notebook markdown format
entry: python pre-commit/notebook_markdown_format.py
Expand All @@ -28,15 +23,15 @@ repos:
- mdformat-black
- mdformat-myst
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
rev: 0.7.17
hooks:
- id: mdformat
# Optionally add plugins
additional_dependencies:
- mdformat-gfm # GitHub flavoured markdown
- mdformat-black # Black formatting for python verbatim blocks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-ast # Simply checks whether the files parse as valid Python.
- id: fix-byte-order-marker # Removes utf-8 byte order marker.
Expand All @@ -52,49 +47,29 @@ repos:
- id: mixed-line-ending # Replaces or checks mixed line endings.
- id: requirements-txt-fixer # Sorts entries in requirements.txt.
- id: trailing-whitespace # Trims trailing whitespace.
exclude: 'setup.cfg'
- id: file-contents-sorter # Sorts the lines in specified files (defaults to alphabetical).
files: whitelist.txt
- id: debug-statements # Checks for debugger imports and py37+ `breakpoint()` calls in python source.
- id: pretty-format-json # Sets a standard for formatting JSON files.
exclude_types: [jupyter]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: rst-backticks # Detect common mistake of using single backticks when writing rst.
- id: rst-directive-colons # Detect mistake of rst directive not ending with double colon.
- id: rst-inline-touching-normal # Detect mistake of inline code touching normal text in rst.
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.3.0 # Replace with any tag/version: https://github.com/psf/black/tags
rev: 23.11.0 # Replace with any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.+
additional_dependencies: ['click==8.0.4'] # Currently >8.0.4 breaks black
- id: black-jupyter
language: python
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.7
hooks:
- id: flake8
additional_dependencies: [
flake8-bugbear, # Detect potential bugs
flake8-builtins, # Check for built-ins being used as variables
flake8-cognitive-complexity, # Check max function complexity
flake8-comprehensions, # Suggestions for better list/set/dict comprehensions
flake8-eradicate, # Find dead/commented out code
flake8-expression-complexity, # Check max expression complexity
flake8-fixme, # Check for FIXME, TODO, and XXX left in comments
flake8-isort, # Check import ordering
flake8-logging-format, # Validate (lack of) logging format strings
flake8-mutable, # Check for mutable default arguments
flake8-pie, # Misc. linting rules
flake8-pytest-style, # Check against pytest style guide
flake8-return, # Check return statements
flake8-simplify, # Suggestions to simplify code
flake8-spellcheck, # Spelling checker
flake8-use-fstring, # Encourages use of f-strings vs old style
pep8-naming, # Check PEP8 class naming
]
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
types_or: [python, pyi, jupyter]
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.0 # TIAToolbox version
doi: 10.5281/zenodo.5802442
date-released: 2022-10-20
url: "https://github.com/TissueImageAnalytics/tiatoolbox"
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ A reminder for the maintainers on how to deploy.
Make sure all your changes are committed (including an entry in HISTORY.rst).
Then run::

$ bump2version patch # possible: major / minor / patch
$ poetry version patch # use: "poetry version --help" for other options
$ git push
$ git push --tags

Expand Down
45 changes: 45 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,50 @@
# History

## 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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ lint: ## check style with flake8
flake8 tiatoolbox tests

test: ## run tests quickly with the default Python
pytest
pytest -n auto

coverage: ## check code coverage quickly with the default Python
pytest --cov=tiatoolbox --cov-report=term --cov-report=html --cov-report=xml
Expand Down
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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])**.
Expand Down
Loading