Skip to content

Commit ae010dc

Browse files
committed
BF: mark ses/subj _scans also sensitive
1 parent 7b6f732 commit ae010dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/heudiconv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,8 +1725,9 @@ def add_to_datalad(topdir, studydir, msg=None, bids=False):
17251725
mark_sensitive(ds, 'sourcedata')
17261726
mark_sensitive(ds, '*_scans.tsv') # top level
17271727
mark_sensitive(ds, '*/*_scans.tsv') # within subj
1728+
mark_sensitive(ds, '*/*/*_scans.tsv') # within sess/subj
17281729
mark_sensitive(ds, '*/anat') # within subj
1729-
mark_sensitive(ds, '*/*/anat') # within subj/ses
1730+
mark_sensitive(ds, '*/*/anat') # within ses/subj
17301731
if dsh:
17311732
mark_sensitive(dsh) # entire .heudiconv!
17321733
dsh.save(message=msg)

0 commit comments

Comments
 (0)