Skip to content

Commit d09cec1

Browse files
committed
BF: account for datalad.create no_annex removal, deprecated in 0.13.0
(now minimal supported version)
1 parent 5bfc764 commit d09cec1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

heudiconv/external/dlad.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def add_to_datalad(topdir, studydir, msg, bids):
5858
ds_ = dl.create(curdir_, dataset=superds,
5959
force=True,
6060
# initiate annex only at the bottom repository
61-
no_annex=isubdir<(len(subdirs)-1),
61+
annex=isubdir==(len(subdirs)-1),
6262
fake_dates=True,
6363
# shared_access='all',
6464
)

heudiconv/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
'inotify',
3939
]
4040

41-
MIN_DATALAD_VERSION = '0.12.4'
41+
MIN_DATALAD_VERSION = '0.13.0'
4242
EXTRA_REQUIRES = {
4343
'tests': TESTS_REQUIRES,
4444
'extras': [

0 commit comments

Comments
 (0)