Skip to content

Commit

Permalink
Merge branch 'refactor_cli' of github.com:scalableminds/webknossos-li…
Browse files Browse the repository at this point in the history
…bs into refactor_cli
  • Loading branch information
markbader committed Aug 8, 2023
2 parents 36eefcf + b9cb5db commit 701ac6b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
6 changes: 5 additions & 1 deletion cluster_tools/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/) `MAJOR.MIN
For upgrade instructions, please check the respective *Breaking Changes* sections.

## Unreleased
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.13.2...HEAD)
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.13.3...HEAD)

### Breaking Changes

Expand All @@ -18,6 +18,10 @@ For upgrade instructions, please check the respective *Breaking Changes* section
### Fixed


## [0.13.3](https://github.com/scalableminds/webknossos-libs/releases/tag/v0.13.3) - 2023-08-08
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.13.2...v0.13.3)


## [0.13.2](https://github.com/scalableminds/webknossos-libs/releases/tag/v0.13.2) - 2023-07-26
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.13.1...v0.13.2)

Expand Down
14 changes: 11 additions & 3 deletions webknossos/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,27 @@ and this project adheres to [Semantic Versioning](http://semver.org/) `MAJOR.MIN
For upgrade instructions, please check the respective _Breaking Changes_ sections.

## Unreleased
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.13.2...HEAD)
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.13.3...HEAD)

### Breaking Changes

### Added

### Changed

### Fixed


## [0.13.3](https://github.com/scalableminds/webknossos-libs/releases/tag/v0.13.3) - 2023-08-08
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.13.2...v0.13.3)

### Added
- `View` has a `map_chunk` method now to run a function on each chunk and collect the results in a list.

### Changed
- As WEBKNOSSOS does not require the largest segment id. It is also not mandatory in the WEBKNOSSOS libs anymore. [#917](https://github.com/scalableminds/webknossos-libs/issues/917) The method `SegmentationLayer.refresh_largest_segment_id` was added to lookup the highest value in segmentation data and set `largest_segment_id` accordingly.
- The `convert` command of the cli now has a `--category` flag, to select the LayerCategoryType.

### Fixed


## [0.13.2](https://github.com/scalableminds/webknossos-libs/releases/tag/v0.13.2) - 2023-07-26
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.13.1...v0.13.2)
Expand Down
4 changes: 2 additions & 2 deletions webknossos/webknossos/dataset/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def add_mag(
),
axis_order=(
{"x": 1, "y": 2, "z": 3, "c": 0}
if mag_array_info.data_format == DataFormat.Zarr
if mag_array_info.data_format in (DataFormat.Zarr, DataFormat.Zarr3)
else None
),
)
Expand Down Expand Up @@ -457,7 +457,7 @@ def add_mag_for_existing_files(
),
axis_order=(
{"x": 1, "y": 2, "z": 3, "c": 0}
if mag_array_info.data_format == DataFormat.Zarr
if mag_array_info.data_format in (DataFormat.Zarr, DataFormat.Zarr3)
else None
),
)
Expand Down

0 comments on commit 701ac6b

Please sign in to comment.