@@ -692,7 +692,7 @@ def init_single_subject_wf(subject_id: str):
692
692
if len (set (suffices )) == 1 or (
693
693
len (suffices ) == 2 and all (suf in ('epi' , 'bold' , 'sbref' ) for suf in suffices )
694
694
):
695
- wf_inputs = getattr (fmap_wf .inputs , f'in_{ estimator .bids_id } ' )
695
+ wf_inputs = getattr (fmap_wf .inputs , f'in_{ estimator .sanitized_id } ' )
696
696
wf_inputs .in_data = [str (s .path ) for s in estimator .sources ]
697
697
wf_inputs .metadata = [s .metadata for s in estimator .sources ]
698
698
else :
@@ -710,7 +710,7 @@ def init_single_subject_wf(subject_id: str):
710
710
debug = config .execution .sloppy ,
711
711
auto_bold_nss = True ,
712
712
t1w_inversion = False ,
713
- name = f'syn_preprocessing_{ estimator .bids_id } ' ,
713
+ name = f'syn_preprocessing_{ estimator .sanitized_id } ' ,
714
714
)
715
715
syn_preprocessing_wf .inputs .inputnode .in_epis = sources
716
716
syn_preprocessing_wf .inputs .inputnode .in_meta = source_meta
@@ -724,11 +724,11 @@ def init_single_subject_wf(subject_id: str):
724
724
('std2anat_xfm' , 'inputnode.std2anat_xfm' ),
725
725
]),
726
726
(syn_preprocessing_wf , fmap_wf , [
727
- ('outputnode.epi_ref' , f'in_{ estimator .bids_id } .epi_ref' ),
728
- ('outputnode.epi_mask' , f'in_{ estimator .bids_id } .epi_mask' ),
729
- ('outputnode.anat_ref' , f'in_{ estimator .bids_id } .anat_ref' ),
730
- ('outputnode.anat_mask' , f'in_{ estimator .bids_id } .anat_mask' ),
731
- ('outputnode.sd_prior' , f'in_{ estimator .bids_id } .sd_prior' ),
727
+ ('outputnode.epi_ref' , f'in_{ estimator .sanitized_id } .epi_ref' ),
728
+ ('outputnode.epi_mask' , f'in_{ estimator .sanitized_id } .epi_mask' ),
729
+ ('outputnode.anat_ref' , f'in_{ estimator .sanitized_id } .anat_ref' ),
730
+ ('outputnode.anat_mask' , f'in_{ estimator .sanitized } .anat_mask' ),
731
+ ('outputnode.sd_prior' , f'in_{ estimator .sanitized_id } .sd_prior' ),
732
732
]),
733
733
]) # fmt:skip
734
734
0 commit comments