@@ -300,6 +300,7 @@ def init_surface_recon_wf(*, omp_nthreads, hires, fs_reuse_base, name="surface_r
300
300
# fmt:on
301
301
else :
302
302
fs_base_inputs = pe .Node (nio .FreeSurferSource (), name = 'fs_base_inputs' )
303
+
303
304
# fmt:off
304
305
workflow .connect ([
305
306
(inputnode , fs_base_inputs , [('subjects_dir' , 'subjects_dir' ),
@@ -309,13 +310,13 @@ def init_surface_recon_wf(*, omp_nthreads, hires, fs_reuse_base, name="surface_r
309
310
('subject_id' , 'inputnode.subject_id' )]),
310
311
(fs_base_inputs , fsnative2t1w_xfm , [('T1' , 'source_file' )]),
311
312
312
- (inputnode , aparc_to_native_wf , [('corrected_t1' , 'inputnode.in_file' )]),
313
+ (inputnode , aseg_to_native_wf , [
314
+ ('subjects_dir' , 'inputnode.subjects_dir' ),
315
+ ('subject_id' , 'inputnode.subject_id' )]),
316
+
313
317
(inputnode , aparc_to_native_wf , [
314
318
('subjects_dir' , 'inputnode.subjects_dir' ),
315
319
('subject_id' , 'inputnode.subject_id' )]),
316
- (fsnative2t1w_xfm , aparc_to_native_wf , [
317
- ('out_reg_file' , 'inputnode.fsnative2t1w_xfm' )]),
318
- (aseg_to_native_wf , refine , [('outputnode.out_file' , 'in_aseg' )]),
319
320
320
321
# Output
321
322
(inputnode , outputnode , [('subjects_dir' , 'subjects_dir' ),
0 commit comments