Webknossos

Latest version: v0.16.1

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

Scan your dependencies

Page 22 of 38

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.

0.8.13

- Replaced the old properties classes of the Dataset API with attr-classes.
- The `Layer.rename()` function is now replaced with the setter of `Layer.name`.
- The functions `Layer.get_view_configuration` and `Layer.set_view_conficuration` are replaced by the property `Layer.default_view_configuration`. (Same applies to `Dataset.get_view_configuration` and `Dataset.set_view_configuration`)
- Moved `LayerViewConfiguration` and `DatasetViewConfiguration` into `properties.py`
- Removed `Layer.set_bounding_box_offset` and `Layer.set_bounding_box_size`.
- Renamed `Layer.get_bounding_box()` to the property `Layer.bounding_box`. The method `Layer.set_bounding_box` is replaced with the setter of the property `Layer.bounding_box`.
- 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)

0.8.12

- Rollback `scikit-image` version from `0.18.0` to `0.16.2` because the newer version caused problems in voxelytics. [390](https://github.com/scalableminds/webknossos-cuber/pull/390/files)

0.8.11

- `dataset.add_symlink_layer` and `dataset.add_copy_layer` can now handle `Layer` arguments as well. The parameter `foreign_layer_path` was renamed to `foreign_layer`. [389](https://github.com/scalableminds/webknossos-cuber/pull/389)

0.8.10

0.8.9

- Bump scipy to 1.6.0 and scikit-image to 0.18.0 while keeping numpy to under 1.20.0 372
- Fixes a bug where modifications to an existing dataset with floats as dtype failed. 375

Page 22 of 38

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.