@@ -41,15 +41,12 @@ def init_func_derivatives_wf(
41
41
from smriprep .workflows .outputs import _bids_relative
42
42
workflow = Workflow (name = name )
43
43
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' ]),
53
50
name = 'inputnode' )
54
51
55
52
raw_sources = pe .Node (niu .Function (function = _bids_relative ), name = 'raw_sources' )
@@ -62,7 +59,8 @@ def init_func_derivatives_wf(
62
59
workflow .connect ([
63
60
(inputnode , raw_sources , [('source_file' , 'in_files' )]),
64
61
(inputnode , ds_confounds , [('source_file' , 'source_file' ),
65
- ('confounds' , 'in_file' )]),
62
+ ('confounds' , 'in_file' ),
63
+ ('confounds_metadata' , 'meta_dict' )]),
66
64
])
67
65
68
66
# Resample to T1w space
0 commit comments