Releases: scalableminds/webknossos-libs
Releases · scalableminds/webknossos-libs
v0.8.16
wkcuber:
webknossos python lib:
- Refactored the BufferedSliceWriter and added a BufferedSliceReader. #425
- Breaking changes in BufferedSliceWriter:
- The data no longer gets transposed: previously the format of the slices was [y,x]; now it is [x,y]
- The interface of the constructor was changed:
- A
View(orMagView) is now required as datasource - The parameter
dimensioncan be used to specify the axis along the data is sliced - The offset is expected to be in the magnification of the view
- A
- This class is now supposed to be used within a context manager and the slices are written by sending them to the generator (see documentation of the class).
- BufferedSliceReader
- This class was added complementary to the BufferedSliceWriter
- Added methods to get a BufferedSliceReader/BufferedSliceWriter from a View directly
v0.8.15
v0.8.14
wkcuber:
- Adjust downsampling scheme to always try to minimize the scaled difference between the different dimensions of a mag and renamed the sampling mode
autotoanisotropic. #391 - Make parameter
executoroptional forView.for_each_chunkandView.for_zipped_chunks. #404 - Add option to rename foreign layer with add_{symlink,copy}_layer. #419
- Reverted that
dataset.add_symlink_layeranddataset.add_copy_layerresolved the layer path if it was a symlink. #408
webknossos python package:
-
Breaking changes were introduced for geometry classes in #421:
-
BoundingBox- is now immutable, use convenience methods, e.g.
bb.with_topleft((0,0,0)) - properties topleft and size are now Vec3Int instead of np.array, they are each immutable as well
- all
to_-conversions return a copy, some were renamed: to_array→to_listas_np→to_npas_wkw→to_wkw_dictfrom_wkw→from_wkw_dictas_config→to_config_dictas_checkpoint_name→to_checkpoint_nameas_tuple6→to_tuple6as_csv→to_csvas_named_tuple→to_named_tupleas_slices→to_slicescopy→ (gone, immutable)
- is now immutable, use convenience methods, e.g.
-
Mag- is now immutable
mag.magis nowmag._mag(considered private, use to_list instead if you really need it as list)- all
to_-conversions return a copy, some were renamed: to_array→to_listscale_by→ (gone, immutable)divide_by→ (gone, immutable)as_np→to_np
-
-
An immutable Vec3Int class was introduced that holds three integers and provides a number of convenience methods and accessors. #421
-
BoundingBoxandMagare now immutable attr classes containingVec3Intvalues. See breaking changes above.
v0.8.13
- Replaced the old properties classes of the Dataset API with attr-classes.
- The
Layer.rename()function is now replaced with the setter ofLayer.name. - The functions
Layer.get_view_configurationandLayer.set_view_conficurationare replaced by the propertyLayer.default_view_configuration. (Same applies toDataset.get_view_configurationandDataset.set_view_configuration) - Moved
LayerViewConfigurationandDatasetViewConfigurationintoproperties.py - Removed
Layer.set_bounding_box_offsetandLayer.set_bounding_box_size. - Renamed
Layer.get_bounding_box()to the propertyLayer.bounding_box. The methodLayer.set_bounding_boxis replaced with the setter of the propertyLayer.bounding_box.
- The
- Reverted that
dataset.add_symlink_layeranddataset.add_copy_layerresolved the layer path if it was a symlink. #408
v0.8.12
v0.8.11
v0.8.10
[ds-api] Don't warn about unaligned/compressed writes if these are at…
v0.8.9
v0.8.8
Bump cluster-tools from 1.59 to 1.60 (#373) Bumps [cluster-tools](https://github.com/scalableminds/cluster_tools) from 1.59 to 1.60. - [Release notes](https://github.com/scalableminds/cluster_tools/releases) - [Commits](https://github.com/scalableminds/cluster_tools/compare/v1.59...v1.60) --- updated-dependencies: - dependency-name: cluster-tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v0.8.7
Bump cluster-tools from 1.58 to 1.59 (#371) Bumps [cluster-tools](https://github.com/scalableminds/cluster_tools) from 1.58 to 1.59. - [Release notes](https://github.com/scalableminds/cluster_tools/releases) - [Commits](https://github.com/scalableminds/cluster_tools/compare/v1.58...v1.59) --- updated-dependencies: - dependency-name: cluster-tools dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>