We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc44f0 commit ed1e936Copy full SHA for ed1e936
fmriprep/workflows/base.py
@@ -733,13 +733,15 @@ def init_single_subject_wf(
733
'fmap_ref': 'fmap_derivatives_wf.ds_reference.out_file',
734
'fmap_coeff': 'fmap_derivatives_wf.ds_coeff.out_file',
735
'fmap_mask': 'outputnode.fmap_mask',
736
+ 'fmap_id': 'outputnode.fmap_id',
737
+ 'sdc_method': 'outputnode.method',
738
}
739
740
workflow.connect([
741
(fmap_wf, fmap_buffers[field], [
742
# We get "sdc_method" as "method" from estimator workflows
743
# All else stays the same, and no other sdc_ prefixes are used
- (output_map[field.removeprefix('sdc_')], 'in2')
744
+ (output_map[field], 'in2')
745
# (f'outputnode.{field.removeprefix("sdc_")}', 'in2'),
746
])
747
for field in fmap_buffers
0 commit comments