Skip to content

Commit 07d7a27

Browse files
committed
fix: Use updated niworkflows instead of custom pattern
1 parent 7475035 commit 07d7a27

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
"nipype >= 1.9.0",
2828
"migas >= 0.4.0",
2929
"nireports >= 25.0.1",
30-
"niworkflows >= 1.11.0",
30+
"niworkflows >= 1.14.2",
3131
"nitransforms >= 25.0.1",
3232
"numpy >= 2.0",
3333
"pybids >= 0.16.4",

sdcflows/workflows/outputs.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,6 @@ def init_fmap_derivatives_wf(
230230
),
231231
name='ds_mask',
232232
)
233-
ds_mask._interface._file_patterns += (
234-
'sub-{subject}[/ses-{session}]/{datatype<fmap>|fmap}/'
235-
'sub-{subject}[_ses-{session}][_hash-{hash}][_acq-{acquisition}]'
236-
'[_dir-{direction}][_run-{run}][_part-{part}][_space-{space}]'
237-
'[_cohort-{cohort}][_res-{resolution}][_fmapid-{fmapid}]'
238-
'[_desc-{desc}]_{suffix<mask>}{extension<.nii|.nii.gz|.json>|.nii.gz}',
239-
)
240233

241234
ds_mask.inputs.trait_set(**custom_entities)
242235

0 commit comments

Comments
 (0)