Fix: rename clone target to path

This commit is contained in:
Justus Kuhlmann 2026-07-01 10:18:18 +02:00
commit 25124025fb
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -144,7 +144,7 @@ def clone(path: Path, source: str, target: str) -> None:
path = Path(path)
tracker = get_tracker(path)
if tracker == 'datalad':
dl.clone(target=target, source=source, dataset=path)
dl.clone(path=target, source=source, dataset=path)
elif tracker == 'None':
os.makedirs(path, exist_ok=True)
# Implement a simple clone by copying files