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
Copy file name to clipboardExpand all lines: webknossos/Changelog.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ For upgrade instructions, please check the respective _Breaking Changes_ section
17
17
### Added
18
18
19
19
### Changed
20
+
-`Layer.add_mag_as_copy` now automatically uses file-based copy, if possible. Therefore, `Dataset.fs_copy_dataset`, `Dataset.add_fs_copy_layer` and `Layer.add_fs_copy_mag` are deprecated. [#1362](https://github.com/scalableminds/webknossos-libs/pull/1362)
"""Deprecated. File-copy is automatically selected when using `Layer.add_mag_as_copy`.
1121
+
1122
+
Copies the data at `foreign_mag_view_or_path` which belongs to another dataset to the current dataset via the filesystem.
1123
+
Additionally, the relevant information from the `datasource-properties.json` of the other dataset are copied, too.
1124
+
"""
1125
+
caller=getframeinfo(stack()[2][0])
1126
+
warnings.warn(
1127
+
f"[DEPRECATION] Direct use of `Layer.add_fs_copy_mag` is deprecated, please use `Layer.add_mag_as_copy` instead (see {caller.filename}:{caller.lineno}), which automatically uses file-based copy if available.",
0 commit comments