Releases: scalableminds/webknossos-libs
Releases · scalableminds/webknossos-libs
v0.9.21
Release for v0.9.21
v0.9.20
webknossos
Fixed
- Fixed a bug where the server’s error message during dataset upload was not displayed to the user. #702
wkcuber
Breaking Changes
- Deprecated
--wkw_file_len
flags in favor of--chunks_per_shard
. #679 - Deprecated
wkcuber.api
in favor of the high-levelwebknososs.Dataset
API. #679 - Deprecated external use of
wkcuber.utils
. #679 - Remove the deprecated modules
wkcuber.downsampling_utils
andwkcuber.upsampling_utils
. Use the high-levelLayer.downsample
andLayer.upsample
methods in thewebknossos
package instead. #679
Added
- Added Zarr support for
wkcuber
,wkcuber.cubing
,wkcuber.converter
,wkcuber.convert_knossos
,wkcuber.convert_image_stack_to_wkw
,wkcuber.convert_nifti
,wkcuber.convert_raw
,wkcuber.convert_zarr
, andwkcuber.recubing
. These commands now take a--data_format
flag that can either bewkw
orzarr
. Additionally,--chunk_size
and--chunks_per_shard
flag are available and take either a single number or a 3-tuple (e.g.32,32,32
). #689
v0.9.19
v0.9.18
cluster_tools
Breaking Changes
- The cluster-tools serialize the output of a job in the format
(wasSuccessful, result_value)
to a pickle file ifoutput_pickle_path
is provided and multiprocessing is used. This is consistent with how it is already done when using a cluster executor (e.g., slurm). #686
v0.9.17
Release for v0.9.17
v0.9.16
Release for v0.9.16
v0.9.14
v0.9.13
webknossos
Breaking Changes
- Consistently rename
organization_name
parameters toorganization_id
(except in deprecatedwebknossos.client.download_dataset
). #639
Changed
MagView.compress
now 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
BoundingBox
objects instead of tuples. #646
Added
- Added
groups
andgraphs
property to skeleton.Group to access immediate child groups/graphs. #645 - The
BoundingBox
class now supports the following additional properties:id
,name
,is_visible
andcolor
. #646 - Added support for Zarr arrays in the
Dataset
classes. Users can set thedata_format
of layers tozarr
to 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.json
for Zarr layers compared to WKW layers: dataFormat
needs 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_len
andfile_len
attributes are now deprecated, but still available for backwards compatibility. Usechunk_size
andchunks_per_shard
instead. These new attributes areVec3Int
, so they can be set non-uniformly. However, WKW-backed layers still require uniformchunk_size
andchunks_per_shard
. #627
Fixed
- Fixed crash during downsampling and compression of segmentation layers. #657
wkcuber
Added
- Added logging to file in
./logs
directory. #641
v0.9.11
Release for v0.9.11