Skip to content

Commit

Permalink
Version 0.3.0 (#35)
Browse files Browse the repository at this point in the history
* Update changelog and version, remove python 3.7
  • Loading branch information
erikogabrielsson authored Apr 20, 2022
1 parent 5e5bc3f commit b20a7c7
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 94 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/run_pytests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ jobs:
python-version: "3.10"
- os: ubuntu-latest
python-version: 3.9
- os: ubuntu-latest
python-version: 3.7
steps:
# see:
# - https://github.com/actions/checkout/issues/135
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased] - ...

## [0.3.0] - 2021-04-20
### Added
- Scripts and github actions for downloading test data.
- Properties photometric_interpretation, subsampling, and samples_per_pixel for OpenTilePage.
- __enter__ and __exit__ for Tiler.
- __version__ added.

### Changed
- Dropped support for python 3.7.

### Fixed
- Generation of blank tiles for philips tiff.
- Border appearing when cropping one-frammed ndpi pages.
- Even more descriptive error when jpeg crop fails.

## [0.2.0] - 2021-02-14
### Added
- Support for svs overview and label images.
Expand All @@ -27,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initial release of opentile.

[Unreleased]: https://github.com/imi-bigpicture/opentile/compare/0.2.0..HEAD
[0.2.0]: https://github.com/imi-bigpicture/opentile/compare/0.2.0..0.3.0
[0.2.0]: https://github.com/imi-bigpicture/opentile/compare/0.1.1..0.2.0
[0.1.1]: https://github.com/imi-bigpicture/opentile/compare/0.1.0..0.1.1
[0.1.0]: https://github.com/imi-bigpicture/opentile/tree/v0.1.0
2 changes: 2 additions & 0 deletions opentile/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
# limitations under the License.

from opentile.interface import OpenTile

__version__ = '0.3.0'
1 change: 0 additions & 1 deletion opentile/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ def __init__(self, filepath: Path):
self.base_page.shape[1],
self.base_page.shape[0]
)
# self._pages: Dict[Tuple[int, int, int], OpenTilePage] = {}

def __enter__(self):
return self
Expand Down
123 changes: 36 additions & 87 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "opentile"
version = "0.2.0"
version = "0.3.0"
description = "[Read tiles from wsi-TIFF files]"
authors = ["Erik O Gabrielsson <[email protected]>"]
license = "Apache-2.0"
Expand All @@ -15,16 +15,17 @@ classifiers = [
]

[tool.poetry.dependencies]
python = ">=3.7,<3.11"
tifffile = "^2021.6.14"
numpy = "^1.21.2"
python = ">=3.8,<3.11"
tifffile = "^2021.8.8"
numpy = "^1.22.0"
PyTurboJPEG = "^1.6.1"
Pillow = "^9.0.0"
imagecodecs = "^2021.8.26"

[tool.poetry.dev-dependencies]
pytest = "^5.2"
pytest-watch = "^4.2.0"
pycodestyle = "^2.8.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit b20a7c7

Please sign in to comment.