You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changed the interface and behavior of Annotations and Skeletons, as well as nml-parsing related code. #602
webknossos.skeleton.nml is not exposed anymore. The previous functionality may be found in webknossos._nml and webknossos/annotation/_nml_conversion.py if 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 Annotation class instead.
The name attribute on the Skeleton class changed to dataset_name.
The deprecated Skeleton.offset attribute is removed.
The following attributes are removed from the Skeleton class, instead they are part of the Annotation class now: time, edit_position, edit_rotation, zoom_level, task_bounding_box, user_bounding_boxes.
The following Annotation methods were renamed and their arguments changed slightly:
Added new features to the Annotation and Skeleton classes. #602
The Skeleton class has new attributes description and organization_id.
The Annotation class has new attributes username and annotation_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() and annoation.save() also works with .nml files.
Added MagView.get_views_on_disk() as a shortcut to turning get_bounding_boxes_on_disk into views. #621
Fixed
Fixed the download of skeleton-only annotations. #602