@@ -121,7 +121,7 @@ def _make_params(
121121 skull_strip_anat : str = 'auto' ,
122122 use_syn_sdc : str | bool = False ,
123123 force_syn : bool = False ,
124- freesurfer : bool = True ,
124+ surface_recon_method : str | None = 'auto' ,
125125 ignore : list [str ] = None ,
126126 bids_filters : dict = None ,
127127):
@@ -141,7 +141,7 @@ def _make_params(
141141 skull_strip_anat ,
142142 use_syn_sdc ,
143143 force_syn ,
144- freesurfer ,
144+ surface_recon_method ,
145145 ignore ,
146146 bids_filters ,
147147 )
@@ -162,7 +162,7 @@ def _make_params(
162162 'skull_strip_anat' ,
163163 'use_syn_sdc' ,
164164 'force_syn' ,
165- 'freesurfer ' ,
165+ 'surface_recon_method ' ,
166166 'ignore' ,
167167 'bids_filters' ,
168168 ),
@@ -185,9 +185,13 @@ def _make_params(
185185 _make_params (skull_strip_anat = 'force' ),
186186 _make_params (skull_strip_anat = 'skip' ),
187187 # _make_params(use_syn_sdc='warn', force_syn=True, ignore=['fieldmaps']),
188- _make_params (freesurfer = False ),
189- _make_params (freesurfer = False , use_bbr = True ),
190- _make_params (freesurfer = False , use_bbr = False ),
188+ _make_params (surface_recon_method = None ),
189+ _make_params (surface_recon_method = None , use_bbr = True ),
190+ _make_params (surface_recon_method = None , use_bbr = False ),
191+ _make_params (surface_recon_method = 'auto' ),
192+ # _make_params(surface_recon_method='mcribs'), # Requires precomputed segmentation
193+ _make_params (surface_recon_method = 'infantfs' ),
194+ _make_params (surface_recon_method = 'freesurfer' ),
191195 # Currently unsupported:
192196 # _make_params(freesurfer=False, bold2anat_init="header"),
193197 # _make_params(freesurfer=False, bold2anat_init="header", use_bbr=True),
@@ -196,7 +200,7 @@ def _make_params(
196200 _make_params (bids_filters = {'sbref' : {'suffix' : 'sbref' }}),
197201 ],
198202)
199- def test_init_fmriprep_wf (
203+ def test_init_nibabies_wf (
200204 monkeypatch ,
201205 bids_root : Path ,
202206 tmp_path : Path ,
@@ -213,7 +217,7 @@ def test_init_fmriprep_wf(
213217 skull_strip_anat : str ,
214218 use_syn_sdc : str | bool ,
215219 force_syn : bool ,
216- freesurfer : bool ,
220+ surface_recon_method : str | None ,
217221 ignore : list [str ],
218222 bids_filters : dict ,
219223):
@@ -230,7 +234,7 @@ def test_init_fmriprep_wf(
230234 # config.workflow.run_msmsulc = run_msmsulc
231235 config .workflow .skull_strip_anat = skull_strip_anat
232236 config .workflow .cifti_output = cifti_output
233- config .workflow .run_reconall = freesurfer
237+ config .workflow .surface_recon_method = surface_recon_method
234238 config .workflow .ignore = ignore
235239 with patch .dict ('nibabies.config.execution.bids_filters' , bids_filters ):
236240 wf = init_nibabies_wf (
0 commit comments