Skip to content

Commit e13e827

Browse files
authored
Merge pull request #1982 from mgxd/fix/bidsgrabber
FIX: Ensure subject ID is passed when grabbing BIDS data
2 parents 4186b7f + cd83784 commit e13e827

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fmriprep/workflows/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,9 @@ def init_single_subject_wf(
524524
inputnode = pe.Node(niu.IdentityInterface(fields=['subjects_dir']),
525525
name='inputnode')
526526

527-
bidssrc = pe.Node(BIDSDataGrabber(subject_data=subject_data, anat_only=anat_only),
527+
bidssrc = pe.Node(BIDSDataGrabber(subject_data=subject_data,
528+
anat_only=anat_only,
529+
subject_id=subject_id),
528530
name='bidssrc')
529531

530532
bids_info = pe.Node(BIDSInfo(

0 commit comments

Comments
 (0)