@@ -360,7 +360,7 @@ def init_func_preproc_wf(bold_file, ignore, freesurfer,
360
360
'bold_mni' , 'bold_mni_ref' 'bold_mask_mni' , 'bold_aseg_mni' , 'bold_aparc_mni' ,
361
361
'bold_cifti' , 'cifti_variant' , 'cifti_variant_key' , 'confounds' , 'surfaces' ,
362
362
'aroma_noise_ics' , 'melodic_mix' , 'nonaggr_denoised_file' ,
363
- 'tcompcor_metadata' , 'acompcor_metadata ' ]),
363
+ 'confounds_metadata ' ]),
364
364
name = 'outputnode' )
365
365
366
366
# BOLD buffer: an identity used as a pointer to either the original BOLD
@@ -403,8 +403,7 @@ def init_func_preproc_wf(bold_file, ignore, freesurfer,
403
403
('bold_cifti' , 'inputnode.bold_cifti' ),
404
404
('cifti_variant' , 'inputnode.cifti_variant' ),
405
405
('cifti_variant_key' , 'inputnode.cifti_variant_key' ),
406
- ('tcompcor_metadata' , 'inputnode.tcompcor_metadata' ),
407
- ('acompcor_metadata' , 'inputnode.acompcor_metadata' )
406
+ ('confounds_metadata' , 'inputnode.confounds_metadata' ),
408
407
]),
409
408
])
410
409
@@ -595,10 +594,7 @@ def init_func_preproc_wf(bold_file, ignore, freesurfer,
595
594
('outputnode.confounds_file' , 'confounds' ),
596
595
]),
597
596
(bold_confounds_wf , outputnode , [
598
- ('outputnode.acompcor_metadata' , 'acompcor_metadata' ),
599
- ]),
600
- (bold_confounds_wf , outputnode , [
601
- ('outputnode.tcompcor_metadata' , 'tcompcor_metadata' ),
597
+ ('outputnode.confounds_metadata' , 'confounds_metadata' ),
602
598
]),
603
599
# Connect bold_bold_trans_wf
604
600
(bold_split , bold_bold_trans_wf , [
@@ -885,28 +881,17 @@ def init_func_derivatives_wf(output_dir, output_spaces, template, freesurfer,
885
881
'bold_aparc_mni' , 'cifti_variant_key' ,
886
882
'confounds' , 'surfaces' , 'aroma_noise_ics' , 'melodic_mix' ,
887
883
'nonaggr_denoised_file' , 'bold_cifti' , 'cifti_variant' ,
888
- 'tcompcor_metadata' , 'acompcor_metadata ' ]),
884
+ 'confounds_metadata ' ]),
889
885
name = 'inputnode' )
890
886
891
887
ds_confounds = pe .Node (DerivativesDataSink (
892
888
base_directory = output_dir , desc = 'confounds' , suffix = 'regressors' ),
893
889
name = "ds_confounds" , run_without_submitting = True ,
894
890
mem_gb = DEFAULT_MEMORY_MIN_GB )
895
- ds_tcc_metadata = pe .Node (DerivativesDataSink (
896
- base_directory = output_dir , desc = 'tcompcor' , suffix = 'decomposition' ),
897
- name = "ds_tcc_metadata" , run_without_submitting = True ,
898
- mem_gb = DEFAULT_MEMORY_MIN_GB )
899
- ds_acc_metadata = pe .Node (DerivativesDataSink (
900
- base_directory = output_dir , desc = 'acompcor' , suffix = 'decomposition' ),
901
- name = "ds_acc_metadata" , run_without_submitting = True ,
902
- mem_gb = DEFAULT_MEMORY_MIN_GB )
903
891
workflow .connect ([
904
892
(inputnode , ds_confounds , [('source_file' , 'source_file' ),
905
- ('confounds' , 'in_file' )]),
906
- (inputnode , ds_tcc_metadata , [('source_file' , 'source_file' ),
907
- ('tcompcor_metadata' , 'in_file' )]),
908
- (inputnode , ds_acc_metadata , [('source_file' , 'source_file' ),
909
- ('acompcor_metadata' , 'in_file' )]),
893
+ ('confounds' , 'in_file' ),
894
+ ('confounds_metadata' , 'meta_dict' )]),
910
895
])
911
896
912
897
# Resample to T1w space
0 commit comments