-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from AstraZeneca/zarr-3
Upgrade to zarr-python 3
- Loading branch information
Showing
38 changed files
with
3,787 additions
and
4,882 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,84 +1,23 @@ | ||
# Byte-compiled / optimized / DLL files | ||
# Python | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
# Distribution / Packaging | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
# Caches | ||
.mypy_cache/ | ||
.pytest_cache/ | ||
.ruff_cache/ | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
# Testing | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
.hypothesis/ | ||
.napari_cache | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
|
||
# Flask instance folder | ||
instance/ | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# MkDocs documentation | ||
/site/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Pycharm and VSCode | ||
# IDEs | ||
.conda/ | ||
.idea/ | ||
.venv/ | ||
venv/ | ||
.vscode/ | ||
|
||
# IPython Notebook | ||
.ipynb_checkpoints | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# OS | ||
.DS_Store | ||
|
||
# written by setuptools_scm | ||
**/_version.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,17 @@ | ||
# Description | ||
|
||
This [napari] plugin provides a reader for various whole slide image formats. | ||
|
||
By default, any of the following formats is read using the [tifffile] library. | ||
If the image file contains a tag `GDAL_METADATA`, the [rasterio] library is used | ||
instead. | ||
|
||
- .bif | ||
- .ndpi | ||
- .qptiff | ||
- .scn | ||
- .svs | ||
- .tif | ||
- .tiff | ||
This [napari] plugin provides a widget for reading various whole-slide image | ||
formats using a common [zarr] store inteface, based on the libraries | ||
[openslide], [rasterio], and [wsidicom]. | ||
|
||
# Quickstart | ||
|
||
From the terminal: | ||
|
||
```bash | ||
napari CMU-1.svs | ||
``` | ||
|
||
From python: | ||
|
||
```python | ||
import napari | ||
|
||
viewer = napari.Viewer() | ||
viewer.open("CMU-1.svs") | ||
``` | ||
After installation, open the `Plugins` menu in the viewer and select | ||
`WSI Reader` to open the widget. Then select a `Backend` to use, select a `Path` | ||
to open, and click `Load`. | ||
|
||
[napari]: https://github.com/napari/napari | ||
[openslide]: https://github.com/openslide/openslide-python | ||
[rasterio]: https://github.com/rasterio/rasterio | ||
[tifffile]: https://github.com/cgohlke/tifffile | ||
[wsidicom]: https://github.com/imi-bigpicture/wsidicom | ||
[zarr]: https://github.com/zarr-developers/zarr-python |
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 @@ | ||
3.11 |
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,7 @@ | ||
{ | ||
"python.testing.pytestArgs": [ | ||
"tests" | ||
], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true | ||
} |
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
Oops, something went wrong.