Skip to content

Commit fa07eaf

Browse files
authored
Merge pull request #377 from mgxd/fix/mniinfant-references
FIX: Do not require mniinfant xfm if no cifti
2 parents 38fb3fd + f46e0e8 commit fa07eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabies/workflows/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def init_single_subject_wf(
514514
]),
515515
]) # fmt:skip
516516

517-
if 'MNIInfant' in [ref.space for ref in spaces.references]:
517+
if cifti_output and 'MNIInfant' in [ref.space for ref in spaces.references]:
518518
select_MNIInfant_xfm = pe.Node(
519519
KeySelect(
520520
fields=['anat2std_xfm', 'std2anat_xfm'],

0 commit comments

Comments
 (0)