Skip to content

Commit e604829

Browse files
committed
1 parent ed1e936 commit e604829

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

fmriprep/workflows/base.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -726,23 +726,11 @@ def init_single_subject_wf(
726726
if node.split('.')[-1].startswith('ds_'):
727727
fmap_wf.get_node(node).interface.out_path_base = ''
728728

729-
# Retrieve fieldmap files from the derivatives directory
730-
# TODO: SDCFlows should route these files through the outputnode
731-
output_map = {
732-
'fmap': 'fmap_derivatives_wf.ds_fieldmap.out_file',
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-
740729
workflow.connect([
741730
(fmap_wf, fmap_buffers[field], [
742731
# We get "sdc_method" as "method" from estimator workflows
743732
# All else stays the same, and no other sdc_ prefixes are used
744-
(output_map[field], 'in2')
745-
# (f'outputnode.{field.removeprefix("sdc_")}', 'in2'),
733+
(f'outputnode.{field.removeprefix("sdc_")}', 'in2'),
746734
])
747735
for field in fmap_buffers
748736
]) # fmt:skip

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies = [
3434
"psutil >= 5.4",
3535
"pybids >= 0.16",
3636
"requests >= 2.27",
37-
"sdcflows >= 2.13.1",
37+
"sdcflows @ git+https://github.com/nipreps/sdcflows.git@refs/pull/506/head",
3838
"smriprep @ git+https://github.com/nipreps/smriprep.git@master",
3939
"tedana >= 25.0.0",
4040
"templateflow >= 24.2.2",

0 commit comments

Comments
 (0)