Releases: scalableminds/webknossos-libs
Releases · scalableminds/webknossos-libs
v2.4.5
webknossos
Fixed
- Fixed an issue where the unit of the scale (voxel_size) was not considered when reading the NML. #1339
cluster_tools
Fixed
- Fixed that sometimes not all slurm jobs were canceled when an executor was killed. #1317
- Fixed that when multiple cluster executors were instantiated in the same process, the original SIGINT handler sometimes was no longer called, leading to the main application not shutting down correctly after a SIGINT signal. #1317
v2.4.4
webknossos
Added
- The function
Dataset.announce_manual_uploadnow takes an additional optional parameterdataset_urlto select the correct datastore in a multi-datastore setup. #1336
Changed
- Every file that sends logging messages has its own logger now. This can be used to selectively disable loggers. #1335
v2.4.3
v2.4.2
webknossos
Added
- Added operations for
Project,TaskandTaskTypeclasses and objects: #1294- Added operations for
Projectclass:Project.create()for creating a new project.my_project.delete()to delete a project object
- Added
my_project.update()to updatepriority,expected_timeandis_blacklisted_from_reportvalues of an existing project object. - Added operations for
TaskTypeclass:TaskType.get_list()to get allTaskTypeobjects.TaskType.get_by_id()to get aTaskTypeby id.TaskType.get_by_name()to get aTaskTypeby name.TaskType.create()to create a newTaskType.
- Added operations
my_task_type.delete()method forTaskTypeobjects. - Added
Task.get_list()to get allTaskobjects. - Added operations for
Taskobjects:my_task.update()to update aTaskobject.my_task.delete()to delete aTaskobject.
- Added operations for
- Added
TaskExperienceclass to store domain and value pair. - The libs client now uses versioned datastore routes for improved compatibility across webknossos versions. #1328
Fixed
- Fixed the tests for the newest WEBKNOSSOS version. #1328
v2.4.1
v2.4.0
webknossos
Breaking Changes
Dataset.shallow_copy_datasetdoes not symlink layers, mags and attachments anymore. Instead mags and attachments are referenced by their path. #1290- Deprecated a number of methods #1290:
Dataset.add_symlink_layer, useDataset.add_layer_as_refinstead.Dataset.add_remote_layer, useDataset.add_layer_as_refinstead (renamed).Dataset.add_copy_layer, useDataset.add_layer_as_copyinstead (renamed).Layer.add_symlink_mag, useLayer.add_mag_as_refinstead.Layer.add_remote_mag, useLayer.add_mag_as_refinstead (renamed).Layer.add_copy_mag, useLayer.add_mag_as_copyinstead (renamed).Attachments.add_symlink_attachments, useAttachments.add_attachment_as_refinstead (note the singular form).Attachments.add_attachments, useAttachments.add_attachment_as_refinstead (note the singular form).Attachments.add_copy_attachments, useAttachments.add_attachment_as_copyinstead (note the singular form).
Dataset.add_layerandDataset.add_layer_likeas well as derived methods do not eagerly create a folder for the layer anymore. Folders will be created, if necessary, when mags or attachments are added. #1290
Changed
- Changed the default path type to
UPath#1326 - All mags now store their path in the
datasource-properties.jsonfile. This eliminates the need for symlinks and removes the need to check multiple possible mag paths (e.g. 1-1-1 or 1). It also unifies local and remote mags. #1290 - Dataset-local mags and attachments use the
./prefix for their path in compliance with IETF RFC1808. #1290
v2.3.11
v2.3.10
v2.3.9
webknossos
Added
- Added a feature to track attached files of a segmentation layer. Previously, these files were only auto-detected by WEBKNOSSOS based on the location in special folders. Attachments can be added, e.g.
dataset.get_segmentation_layer("segmentation").attachments.add_mesh('path/to/meshfile.hdf5'). #1312 - Added a
with_attachmentsparameter toDataset.copy_datasetto copy attachments. #1312 - Added a
get_segmentation_layermethod toDatasetto get a correctly-typed segmentation layer by name. #1312 - Retry asynchronous tensorstore calls on failure to make operation on object storage datasets accessed via network more robust. #1319
Changed
- When adding a layer, the used dtype is only valid if it is supported by webknossos. #1316
Fixed
- Fixed an issue that creates an Error when
add_mag()was called just with achunk_shape. #1315
cluster_tools
Changed
- Use
sacctto detect out of memory errors instead ofsefffor Slurm executor. #1297