Releases: scalableminds/webknossos-libs
Releases · scalableminds/webknossos-libs
v3.0.1
v3.0.0
webknossos
Breaking Changes
- The endpoint_urlinUPathobjects is now stored directly in thestorage_optionsdict, instead of being stored in thestorage_options["client_kwargs"]dict. #1365
- Removed Docker image scalableminds/webknossos-clibuild. It will not be released further. #1376
Added
- Dataset.add_layer_as_ref() now accepts RemoteLayer objects as well as Layer objects. #1371
- RemoteDataset.annotation_id is now exposed, when available. #1380
- RemoteDataset.open() now accepts an annotation url as well. #1380
- RemoteAnnotation, now has a get_agglomerate_graph method, to make working with proofreading annotations easier. #1361
Changed
- Ported test.shtotest.py, run withuv run test.py. #1379
- Dataset.add_layer_as_ref(remote_layer.path)does not work anymore. Please use- Dataset.add_layer_as_ref(remote_layer)instead. #1371
- Due to the refactoring, the imports of various classes have changed. Please update your code accordingly. #1371
- Deprecated a number of methods #1371:
- Dataset.open_remote(), use- RemoteDataset.openinstead.
- RemoteDatset.download_mesh(), use- remote_segmentation_layer.download_mesh()instead.
- Dataset.get_remote_datasets(), use- RemoteDataset.list()instead.
- Dataset.download(), use- RemoteDataset.download()instead.
- mag_view.is_foreign, use- layer.is_mag_view_foreign(mag_view)instead.
- Dataset.trigger_reload_in_datastore(), use- RemoteDataset.trigger_reload_in_datastore()instead.
 
- Replaced pathlib.Pathforupath.UPathinternally.pathlib.Pathis still supported for user-facing APIs. Adds support foruniversal_pathlibversion 0.3.x. #1374
- Only use fs-based copy for mags on local file systems and S3. Other protocols, e.g. memory and HTTP, have caveats that break fs-based copying. #1365
- The add_*methods inAttachmentsnow return the created attachment objects, similar toadd_layerandadd_mag. #1365
- The returned dataset ID from dataset exploration is now used. #1378
- Refactored the architecture, by introducing RemoteLayers, RemoteSegmentationLayers and their abstract base classes. #1371
- Updated the api version of the webknossos-api to 12. #1371
- Allowing RemoteDataset to align mags, when down- or upsampling #1382
- RemoteDatasets that use zarr streaming are no longer read-only. #1383
- Introduced transfer modes COPY, MOVE_AND_SYMLINK and HTTP for Dataset.upload() #1384
Fixed
- Fixed test.py to parse the command line arguments correctly. #1383
cluster_tools
Breaking Changes
- Deprecate the daskandkubernetesexecutors. They will be removed in a future version. #1375
v2.5.0
webknossos
Added
- Added context manager VolumeLayer.editfor creating and modifying volume annotations. #1340
- Added overwrite_existingflag toconvert,convert-rawandconvert-zarrCLI commands. Use with caution. #1372
- Added downsample,max-mag,interpolation-mode,sampling-modeargs toconvert,convert-rawandconvert-zarrCLI commands, where it was missing, for consistency. #1372
- Added value rescaling to convert-rawCLI command throughsource-dtypeandrescale-min-maxargs. #1372
- Added interpolation_modeandcompresskwargs toDataset.downsamplemethod. #1372
- Added Team.get_by_id,Team.add_userandTeam.deletemethods. #1373
- Added RemoteFolder.get_root,RemoteFolder.get_subfolders,RemoteFolder.get_datasets,RemoteFolder.add_subfolder,RemoteFolder.move_to,RemoteFolder.deletemethods andRemoteFolder.allowed_teams,RemoteFolder.nameproperties. #1373
Changed
v2.4.12
v2.4.11
webknossos
Breaking Changes
- All internal API client methods (webknossos.client) use keyword-only arguments. #1363
- The signature of Dataset.trigger_reload_on_datastorechanged.dataset_namehas been renamed todataset_name_or_url. Alternatively, adataset_idcan be supplied. #1363
Changed
- Layer.add_mag_as_copynow automatically uses file-based copy, if possible. Therefore,- Dataset.fs_copy_dataset,- Dataset.add_fs_copy_layerand- Layer.add_fs_copy_magare deprecated. #1362
- The API methods now use v10API version of Webknossos. Datasets are now referenced by ID instead of dataset name or directory name. #1363
v2.4.10
v2.4.9
v2.4.8
v2.4.7
webknossos
Added
- Added MagView.rechunkmethods to allow for rechunking of datasets. #1342
- Added the option to configure the codecs of Zarr3 datasets. Supply a Zarr3Configto thecompressargument inLayer.add_magor similar methods.codecsandchunk_key_encodingcan be customized. #1343
- Added method download_meshto theRemoteDatasetandRemoteAnnotationclasses to allow download of .stl files. #1307
Changed
v2.4.6
Release for v2.4.6