@@ -343,15 +343,14 @@ def awkfile(in_file, log_file):
343
343
MNIBiasCorrection (), name = "Intensity_Correction" )
344
344
intensity_correction .inputs .out_file = 'nu.mgz'
345
345
intensity_correction .inputs .iterations = 2
346
- ar2_wf .connect ([(inputspec , intensity_correction , [('orig' , 'in_file' ),
347
- ('brainmask' , 'mask' ),
348
- ('transform' , 'transform' )])])
346
+ ar1_wf .connect ([(add_xform_to_orig , intensity_correction , [('out_file' , 'in_file' )]),
347
+ (copy_transform , intensity_correction , [('transform' , 'transform' )])])
349
348
350
349
351
350
add_to_header_nu = pe .Node (AddXFormToHeader (), name = "Add_XForm_to_NU" )
352
351
add_to_header_nu .inputs .copy_name = True
353
352
add_to_header_nu .inputs .out_file = 'nu.mgz'
354
- ar2_wf .connect ([(intensity_correction , add_to_header_nu , [('out_file' , 'in_file' ),
353
+ ar1_wf .connect ([(intensity_correction , add_to_header_nu , [('out_file' , 'in_file' ),
355
354
]),
356
355
(copy_transform , add_to_header_nu ,
357
356
[('out_file' , 'transform' )])
0 commit comments