|
61 | 61 | from .fit.registration import init_register_template_wf
|
62 | 62 | from .outputs import (
|
63 | 63 | init_anat_reports_wf,
|
64 |
| - init_anat_second_derivatives_wf, |
65 | 64 | init_ds_anat_volumes_wf,
|
66 | 65 | init_ds_dseg_wf,
|
67 | 66 | init_ds_fs_registration_wf,
|
| 67 | + init_ds_fs_segs_wf, |
68 | 68 | init_ds_grayord_metrics_wf,
|
69 | 69 | init_ds_mask_wf,
|
70 | 70 | init_ds_surface_metrics_wf,
|
@@ -335,10 +335,9 @@ def init_anat_preproc_wf(
|
335 | 335 | ]) # fmt:skip
|
336 | 336 |
|
337 | 337 | if freesurfer:
|
338 |
| - anat_second_derivatives_wf = init_anat_second_derivatives_wf( |
| 338 | + ds_fs_segs_wf = init_ds_fs_segs_wf( |
339 | 339 | bids_root=bids_root,
|
340 | 340 | output_dir=output_dir,
|
341 |
| - cifti_output=cifti_output, |
342 | 341 | )
|
343 | 342 | surface_derivatives_wf = init_surface_derivatives_wf(
|
344 | 343 | cifti_output=cifti_output,
|
@@ -369,12 +368,12 @@ def init_anat_preproc_wf(
|
369 | 368 | (surface_derivatives_wf, ds_curv_wf, [
|
370 | 369 | ('outputnode.curv', 'inputnode.curv'),
|
371 | 370 | ]),
|
372 |
| - (anat_fit_wf, anat_second_derivatives_wf, [ |
| 371 | + (anat_fit_wf, ds_fs_segs_wf, [ |
373 | 372 | ('outputnode.t1w_valid_list', 'inputnode.source_files'),
|
374 | 373 | ]),
|
375 |
| - (surface_derivatives_wf, anat_second_derivatives_wf, [ |
376 |
| - ('outputnode.out_aseg', 'inputnode.t1w_fs_aseg'), |
377 |
| - ('outputnode.out_aparc', 'inputnode.t1w_fs_aparc'), |
| 374 | + (surface_derivatives_wf, ds_fs_segs_wf, [ |
| 375 | + ('outputnode.out_aseg', 'inputnode.anat_fs_aseg'), |
| 376 | + ('outputnode.out_aparc', 'inputnode.anat_fs_aparc'), |
378 | 377 | ]),
|
379 | 378 | (surface_derivatives_wf, outputnode, [
|
380 | 379 | ('outputnode.out_aseg', 't1w_aseg'),
|
|
0 commit comments