Fix: rename clone target to path
This commit is contained in:
parent
f14fe6f2e3
commit
25124025fb
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ def clone(path: Path, source: str, target: str) -> None:
|
||||||
path = Path(path)
|
path = Path(path)
|
||||||
tracker = get_tracker(path)
|
tracker = get_tracker(path)
|
||||||
if tracker == 'datalad':
|
if tracker == 'datalad':
|
||||||
dl.clone(target=target, source=source, dataset=path)
|
dl.clone(path=target, source=source, dataset=path)
|
||||||
elif tracker == 'None':
|
elif tracker == 'None':
|
||||||
os.makedirs(path, exist_ok=True)
|
os.makedirs(path, exist_ok=True)
|
||||||
# Implement a simple clone by copying files
|
# Implement a simple clone by copying files
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue