Skip to content

Commit 13e0217

Browse files
committed
BF: provide path to the dataset as "dataset" argument
this is due to the change in behavior of 0.12.x series of DataLad. See datalad/datalad#3759 for more info
1 parent ca302ad commit 13e0217

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ exclude =
4646
citations =
4747
doi2bib
4848
datalad =
49-
datalad ~= 0.11.8
49+
datalad ~= 0.12.0
5050
doc =
5151
nbsphinx
5252
packaging

templateflow/conf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _update_datalad():
6969

7070
print("Updating TEMPLATEFLOW_HOME using DataLad ...")
7171
try:
72-
update(str(TF_HOME), recursive=True, merge=True)
72+
update(dataset=str(TF_HOME), recursive=True, merge=True)
7373
except Exception as e:
7474
warn(f"Error updating TemplateFlow's home directory (using DataLad): {e}")
7575
return True

0 commit comments

Comments
 (0)