Releases: scalableminds/webknossos-libs
Releases · scalableminds/webknossos-libs
v0.9.16
Release for v0.9.16
v0.9.14
v0.9.13
webknossos
Breaking Changes
- Consistently rename
organization_nameparameters toorganization_id(except in deprecatedwebknossos.client.download_dataset). #639
Changed
MagView.compressnow skips in-place compression of already compressed mags. #667
Fixed
- Fixed compression of downsampled mags for layers with arbitrary and potentially mag-unaligned bounding boxes. #667
wkcuber
Fixed
- Fixed that wkcuber.downsampling didn't support anisotropic downsampling for some downsampling modes like
nearest. #643
v0.9.12
webknossos
Breaking Changes
- The annotation class now exposes
BoundingBoxobjects instead of tuples. #646
Added
- Added
groupsandgraphsproperty to skeleton.Group to access immediate child groups/graphs. #645 - The
BoundingBoxclass now supports the following additional properties:id,name,is_visibleandcolor. #646 - Added support for Zarr arrays in the
Datasetclasses. Users can set thedata_formatof layers tozarrto use Zarr for storing data. #627
The current implementation has some limitations, e.g.:- Only one type of compression (Blosc+Zstd) is implemented.
- Sharding is not available in Zarr, yet. Please use
chunks_per_shard = (1, 1, 1). - Only local filesystem-based arrays are supported.
There are changes to thedatasource-properties.jsonfor Zarr layers compared to WKW layers: dataFormatneeds to be changed tozarr.- The list of mags is called
mags, instead ofwkwResolutions. - Each mag is represented by an object with a single attribute
mag, e.g.{ "mag": [1, 1, 1] }.
Changed
- Dataset:
block_lenandfile_lenattributes are now deprecated, but still available for backwards compatibility. Usechunk_sizeandchunks_per_shardinstead. These new attributes areVec3Int, so they can be set non-uniformly. However, WKW-backed layers still require uniformchunk_sizeandchunks_per_shard. #627
Fixed
- Fixed crash during downsampling and compression of segmentation layers. #657
wkcuber
Added
- Added logging to file in
./logsdirectory. #641
v0.9.11
Release for v0.9.11
v0.9.10
webknossos
Changed
- Annotation:
Annotation.temporary_volume_layer_copynow uses the NML-providedscale. #644 - Dataset: Moved the deprecation warning from
get_color_layers()to the actually deprecated methodget_color_layer().
#635 - Inconsistent writes to datasets properties (e.g., caused due to multiprocessing) are detected automatically. The warning can be escalated to an exception with
warnings.filterwarnings("error", module="webknossos", message=r"\[WARNING\]"). #633
Fixed
- Tests: The
./test.shscript works on macOS again and doesn't throw Network Errors anymore. However the introduced fix could lead to slightly different behaviour on macOS tests vs CI tests, when UNIX socket communication is involved. #618
wkcuber
Fixed
- Fixed that wkcuber.downsampling didn't support an anisotropic mag for
--from. #638
v.0.9.9
webknossos
Breaking Changes
- Changed the interface and behavior of
Annotations andSkeletons, as well as nml-parsing related code.
#602webknossos.skeleton.nmlis not exposed anymore. The previous functionality may be found in
webknossos._nmlandwebknossos/annotation/_nml_conversion.pyif needed, but please not that
this is not part of the public API and may change at any time. Please use the respective logic on the
Annotationclass instead.- The
nameattribute on theSkeletonclass changed todataset_name. - The deprecated
Skeleton.offsetattribute is removed. - The following attributes are removed from the
Skeletonclass, instead they are part of the
Annotationclass now:time,edit_position,edit_rotation,zoom_level,task_bounding_box,
user_bounding_boxes. - The following
Annotationmethods were renamed and their arguments changed slightly:save_volume_annotation➜export_volume_layer_to_datasettemporary_volume_annotation_layer_copy➜temporary_volume_layer_copy
Added
- Added new features to the
AnnotationandSkeletonclasses. #602- The
Skeletonclass has new attributesdescriptionandorganization_id. - The
Annotationclass has new attributesusernameandannotation_id, as well as the following
attributes that are proxies for the skeleton attributes:dataset_name,scale,organization_id,description Annotations can now be initialized from their attributes and an optional skeleton.- New methods on
Annotation:upload,add_volume_layer,delete_volume_layer Annotation.load()andannoation.save()also works with.nmlfiles.
- The
- Added
MagView.get_views_on_disk()as a shortcut to turningget_bounding_boxes_on_diskinto views.
#621
Fixed
- Fixed the download of skeleton-only annotations. #602
v0.9.8
v0.9.7
webknossos
Added
- Added
only_setup_magparameter to downsample-related methods inLayer. This parameter allows creating output magnifications before parallelizing downsampling invocations to avoid outdated writes to datasource-properties.json. #610 - Added
Task.create()method to create tasks by prodiving a dataset name, location, and rotation. #605
cluster-tools
Added
- Added
KubernetesExecutorfor parallelizing Python scripts on a Kubernetes cluster. #600
v0.9.6
webknossos
Added
- Added
apply_merger_mode.pyexample. #592 - Added support for reading from multiple volume layers in annotations. If an annotation contains multiple volume layers, the layer name has to be provided when reading from a volume layer in an annotation (in
Annotation.save_volume_annotation()andAnnotation.temporary_volume_annotation_layer_copy()). Also, added the methodAnnotation.get_volume_layer_names()to see available volume layers. #588
Changed
- Dataset writes in higher mags do not increase the bounding box if the written data fits in the rounded up box. #595
Fixed
- Dataset down- & upload: #595
- Fixed download of higher mags.
- Bounding box after download is set correctly (was inflated before when downloading higher mags).
- The returned URL for uploads is corrected, this did not respect
new_dataset_namebefore.
cluster-tools
Added
- Automatically detect when a multiprocessing context is set up without using an
if __name__ == "__main__"guard in the main module. #598