Skip to content

Commit f38e89a

Browse files
authored
Merge pull request #462 from effigies/sdcflows-main
fix: Support sdcflows@main and smriprep >=0.18
2 parents 91c5fc3 + a70b9ee commit f38e89a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

nibabies/workflows/anatomical/resampling.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import templateflow.api as tf
66
from niworkflows.engine.workflows import LiterateWorkflow
77
from smriprep.interfaces.workbench import SurfaceResample
8-
from smriprep.workflows.surfaces import _collate, init_morph_grayords_wf
8+
from smriprep.workflows.surfaces import init_morph_grayords_wf
99

1010
from nibabies.config import DEFAULT_MEMORY_MIN_GB
1111
from nibabies.data import load as load_data
@@ -296,3 +296,7 @@ def _get_surf(surfaces, name, mult=1):
296296

297297
def _triple(in_list):
298298
return in_list * 3
299+
300+
301+
def _collate(files):
302+
return [files[i : i + 2] for i in range(0, len(files), 2)]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies = [
3434
"pybids >= 0.15.0",
3535
"requests",
3636
"SimpleITK",
37-
"sdcflows @ git+https://github.com/nipreps/sdcflows.git@master",
37+
"sdcflows @ git+https://github.com/nipreps/sdcflows.git@main",
3838
"smriprep >= 0.17.0",
3939
"tedana >= 23.0.2",
4040
"templateflow >= 24.2.0",

0 commit comments

Comments
 (0)