Skip to content

Commit 325c6a9

Browse files
committed
fix(workflow): missing connections forgotten when resolving conflicts
1 parent 4c22d7f commit 325c6a9

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

fmriprep/workflows/bold/outputs.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,12 @@ def init_func_derivatives_wf(
4141
from smriprep.workflows.outputs import _bids_relative
4242
workflow = Workflow(name=name)
4343

44-
inputnode = pe.Node(
45-
niu.IdentityInterface(
46-
fields=['template', 'source_file',
47-
'bold_t1', 'bold_t1_ref', 'bold_mask_t1',
48-
'bold_std', 'bold_std_ref', 'bold_mask_std',
49-
'bold_aseg_t1', 'bold_aparc_t1', 'bold_aseg_std',
50-
'bold_aparc_std', 'cifti_variant_key',
51-
'confounds', 'surfaces', 'aroma_noise_ics', 'melodic_mix',
52-
'nonaggr_denoised_file', 'bold_cifti', 'cifti_variant']),
44+
inputnode = pe.Node(niu.IdentityInterface(fields=[
45+
'aroma_noise_ics', 'bold_aparc_std', 'bold_aparc_t1', 'bold_aseg_std',
46+
'bold_aseg_t1', 'bold_cifti', 'bold_mask_std', 'bold_mask_t1', 'bold_std',
47+
'bold_std_ref', 'bold_t1', 'bold_t1_ref', 'cifti_variant', 'cifti_variant_key',
48+
'confounds', 'confounds_metadata', 'melodic_mix', 'nonaggr_denoised_file',
49+
'source_file', 'surfaces', 'template']),
5350
name='inputnode')
5451

5552
raw_sources = pe.Node(niu.Function(function=_bids_relative), name='raw_sources')
@@ -62,7 +59,8 @@ def init_func_derivatives_wf(
6259
workflow.connect([
6360
(inputnode, raw_sources, [('source_file', 'in_files')]),
6461
(inputnode, ds_confounds, [('source_file', 'source_file'),
65-
('confounds', 'in_file')]),
62+
('confounds', 'in_file'),
63+
('confounds_metadata', 'meta_dict')]),
6664
])
6765

6866
# Resample to T1w space

0 commit comments

Comments
 (0)