Skip to content

Commit d6e5894

Browse files
committed
fix rebase/merge messups, docstrings
1 parent 3c51c9a commit d6e5894

File tree

3 files changed

+4
-23
lines changed

3 files changed

+4
-23
lines changed

smriprep/cli/run.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,8 @@ def get_parser():
218218
'--fs-no-resume',
219219
action='store_true',
220220
dest='fs_no_resume',
221-
help='Import precomputed freesurfer without resuming '
222-
'(longitudinal or fastsurfer data) '
223-
"!expert option (you know what you're doing)!",
221+
help='EXPERT: Import pre-computed FreeSurfer reconstruction without resuming. '
222+
'The user is responsible for ensuring that all necessary files are present.',
224223
)
225224
g_fs.add_argument(
226225
'--cifti-output',

smriprep/workflows/anatomical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ def init_anat_preproc_wf(
186186
run-to-run replicability when used with --omp-nthreads 1
187187
(default: ``False``).
188188
fs_no_resume : bool
189-
use precomputed freesurfer without attempting to resume
190-
(eg. for longitudinal base or fastsurfer)
189+
EXPERT: Import pre-computed FreeSurfer reconstruction without resuming.
190+
The user is responsible for ensuring that all necessary files are present.
191191
(default: ``False``).
192192
193193
Inputs

smriprep/workflows/surfaces.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -248,24 +248,6 @@ def init_surface_recon_wf(
248248
)
249249

250250
if not fs_no_resume:
251-
recon_config = pe.Node(FSDetectInputs(hires_enabled=hires), name='recon_config')
252-
253-
fov_check = pe.Node(niu.Function(function=_check_cw256), name='fov_check')
254-
fov_check.inputs.default_flags = ['-noskullstrip', '-noT2pial', '-noFLAIRpial']
255-
256-
autorecon1 = pe.Node(
257-
ReconAll(directive='autorecon1', openmp=omp_nthreads),
258-
name='autorecon1',
259-
n_procs=omp_nthreads,
260-
mem_gb=5,
261-
)
262-
autorecon1.interface._can_resume = False
263-
autorecon1.interface._always_run = True
264-
265-
skull_strip_extern = pe.Node(FSInjectBrainExtracted(), name='skull_strip_extern')
266-
267-
autorecon_resume_wf = init_autorecon_resume_wf(omp_nthreads=omp_nthreads)
268-
269251
# fmt:off
270252
workflow.connect([
271253
# Configuration

0 commit comments

Comments
 (0)