Webknossos

Latest version: v2.1.0

Safety actively analyzes 725213 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 24 of 41

0.8.19

Added
- Added a new Annotation class which includes skeletons as well as volume-annotations. [437](https://github.com/scalableminds/webknossos-libs/pull/452)
- Added dataset down- and upload as well as annotation download, see the examples `learned_segmenter.py` and `upload_image_data.py`. [437](https://github.com/scalableminds/webknossos-libs/pull/452)

Changed
- `View`s now always open the `wkw.Dataset` lazily. All explicit calls to `View.open()` and `View.close()` must be removed. [448](https://github.com/scalableminds/webknossos-libs/pull/448)
Fixed
- Fixed two bugs in `cubing` (regarding `start_z` and `pad`). As a result, the ImageConverters do no longer cache metadata. [460](https://github.com/scalableminds/webknossos-libs/pull/460)

0.8.18

What's Changed
* Add shallow_copy_dataset method by valentin-pinkau in https://github.com/scalableminds/webknossos-libs/pull/437
* Allow full Vec3IntLike as input for get_buffered_slice_writer by fm3 in https://github.com/scalableminds/webknossos-libs/pull/438
* [wkcuber] Make tiff and czi reading more robust by youri-k in https://github.com/scalableminds/webknossos-libs/pull/335
* Allow float numpy array in BoundingBox.contains by fm3 in https://github.com/scalableminds/webknossos-libs/pull/450
* Forbid implicit optional in typing by fm3 in https://github.com/scalableminds/webknossos-libs/pull/449
* Use Dataset API inside `cubing` by rschwanhold in https://github.com/scalableminds/webknossos-libs/pull/418


**Full Changelog**: https://github.com/scalableminds/webknossos-libs/compare/v0.8.17...v0.8.18

0.8.17

wkcuber and webknossos:
- Updated scikit-image dependency to 0.18.3. 435

0.8.16

wkcuber:
- Add jp2 support. [428](https://github.com/scalableminds/webknossos-libs/pull/428)
- Fixed the string translation for `signed int` layer. [428](https://github.com/scalableminds/webknossos-libs/pull/428)

webknossos python lib:
- Refactored the BufferedSliceWriter and added a BufferedSliceReader. [425](https://github.com/scalableminds/webknossos-libs/pull/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` (or `MagView`) is now required as datasource
- The parameter `dimension` can be used to specify the axis along the data is sliced
- The offset is expected to be in the magnification of the view
- 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

0.8.15

Fixed an indexing bug in `webknossos.geometry.BoundingBox.to_slices()` introduced in v0.8.15.

0.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 `auto` to `anisotropic`. [391](https://github.com/scalableminds/webknossos-libs/pull/391)
- Make parameter `executor` optional for `View.for_each_chunk` and `View.for_zipped_chunks`. [404](https://github.com/scalableminds/webknossos-libs/pull/404)
- Add option to rename foreign layer with add_{symlink,copy}_layer. [419](https://github.com/scalableminds/webknossos-libs/pull/419)
- Reverted that `dataset.add_symlink_layer` and `dataset.add_copy_layer` resolved the layer path if it was a symlink. [408](https://github.com/scalableminds/webknossos-libs/pull/408)

webknossos python package:
- Breaking changes were introduced for geometry classes in [421](https://github.com/scalableminds/webknossos-libs/pull/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_list`
- `as_np` → `to_np`
- `as_wkw` → `to_wkw_dict`
- `from_wkw` → `from_wkw_dict`
- `as_config` → `to_config_dict`
- `as_checkpoint_name` → `to_checkpoint_name`
- `as_tuple6` → `to_tuple6`
- `as_csv` → `to_csv`
- `as_named_tuple` → `to_named_tuple`
- `as_slices` → `to_slices`
- `copy` → (gone, immutable)

- `Mag`
- is now immutable
- `mag.mag` is now `mag._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_list`
- `scale_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](https://github.com/scalableminds/webknossos-libs/pull/421)
- `BoundingBox` and `Mag` are now immutable attr classes containing `Vec3Int` values. See breaking changes above.

Page 24 of 41

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.