@@ -61,7 +61,7 @@ def create_AutoRecon2(name="AutoRecon2", longitudinal=False,
6161 ar2_wf .connect ([(inputspec , intensity_correction , [('orig' , 'in_file' ),
6262 ('brainmask' , 'mask' ),
6363 ('transform' , 'transform' )])])
64-
64+
6565 # intensity correction parameters are more specific in 6+
6666 intensity_correction .inputs .iterations = 1
6767 intensity_correction .inputs .protocol_iterations = 1000
@@ -70,7 +70,7 @@ def create_AutoRecon2(name="AutoRecon2", longitudinal=False,
7070 if shrink :
7171 intensity_correction .inputs .shrink = shrink
7272 intensity_correction .inputs .distance = distance
73-
73+
7474 add_to_header_nu = pe .Node (AddXFormToHeader (), name = "Add_XForm_to_NU" )
7575 add_to_header_nu .inputs .copy_name = True
7676 add_to_header_nu .inputs .out_file = 'nu.mgz'
@@ -108,7 +108,7 @@ def create_AutoRecon2(name="AutoRecon2", longitudinal=False,
108108 ar2_wf .connect ([(add_to_header_nu , align_transform , [('out_file' , 'in_file' )])])
109109 else :
110110 ar2_wf .connect ([(inputspec , align_transform , [('nu' , 'in_file' )])])
111-
111+
112112
113113 # CA Normalize
114114 """
@@ -698,7 +698,7 @@ def create_AutoRecon2(name="AutoRecon2", longitudinal=False,
698698 # add to outputspec to perserve datasinking
699699 ar2_wf .connect ([(inputspec , outputspec , [('nu' , 'nu' )])])
700700
701-
701+
702702 ar2_wf .connect ([(align_transform , outputspec , [('out_file' , 'tal_lta' )]),
703703 (ca_normalize , outputspec , [('out_file' , 'norm' )]),
704704 (ca_normalize , outputspec , [('control_points' , 'ctrl_pts' )]),
0 commit comments