Skip to content

Commit 4af4771

Browse files
authored
Small improvements of the dataset API (#339)
* implement a few improvments that were discoverd during integrating the api into voxelytics * rename 'LayerTypes' to 'LayerCategories'; Create separate Segmentation class * Apply suggestions from code review * Merge branch 'master' into dataset-api-small-refactoring * obey the linter-god * Update dataset.py
1 parent 05def1b commit 4af4771

File tree

10 files changed

+329
-139
lines changed

10 files changed

+329
-139
lines changed

Changelog.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,28 @@ and this project adheres to [Calendar Versioning](http://calver.org/) `0Y.0M.MIC
77
For upgrade instructions, please check the respective *Breaking Changes* sections.
88

99
## Unreleased
10-
[Commits](https://github.com/scalableminds/webknossos-cuber/compare/v0.6.8...HEAD)
10+
[Commits](https://github.com/scalableminds/webknossos-cuber/compare/v0.7.0...HEAD)
11+
12+
### Breaking Changes in Config & CLI
13+
- Some breaking changes in the dataset API: [#339](https://github.com/scalableminds/webknossos-cuber/pull/339)
14+
- The interfaces of the methods `Layer.add_mag` and `Layer.get_or_add_mag` have changed: the parameter `block_type` is now replaced with `compress`.
15+
- Previously `Layer.mags` was of type `Dict[str, MagView]`. This was now changed to `Dict[Mag, MagView]`.
16+
- Renamed `LayerTypes` to `LayerCategories`.
17+
18+
### Added
19+
- Added multiple small features: [#339](https://github.com/scalableminds/webknossos-cuber/pull/339)
20+
- Names of datasets can now be passed optionally when creating a dataset.
21+
- The `Layer` does now expose the `largest_segment_id`.
22+
- Add methods to get category specific layers for a given dataset.
23+
24+
25+
### Changed
26+
27+
### Fixed
28+
29+
30+
## [0.7.0](https://github.com/scalableminds/webknossos-cuber/releases/tag/v0.7.0) - 2021-07-08
31+
[Commits](https://github.com/scalableminds/webknossos-cuber/compare/v0.6.8...v0.7.0)
1132

1233
### Breaking Changes in Config & CLI
1334
- Refactoring of the dataset API: [#331](https://github.com/scalableminds/webknossos-cuber/pull/331)

0 commit comments

Comments
 (0)