Skip to content

Commit 83c55e9

Browse files
committed
fix workflows connections
1 parent ef288d8 commit 83c55e9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

smriprep/workflows/surfaces.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ def init_surface_recon_wf(*, omp_nthreads, hires, fs_reuse_base, name="surface_r
300300
# fmt:on
301301
else:
302302
fs_base_inputs = pe.Node(nio.FreeSurferSource(), name='fs_base_inputs')
303+
303304
# fmt:off
304305
workflow.connect([
305306
(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
309310
('subject_id', 'inputnode.subject_id')]),
310311
(fs_base_inputs, fsnative2t1w_xfm, [('T1', 'source_file')]),
311312

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+
313317
(inputnode, aparc_to_native_wf, [
314318
('subjects_dir', 'inputnode.subjects_dir'),
315319
('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')]),
319320

320321
# Output
321322
(inputnode, outputnode, [('subjects_dir', 'subjects_dir'),

0 commit comments

Comments
 (0)