File tree 3 files changed +9
-0
lines changed
3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -574,6 +574,12 @@ def _slice_time_ref(value, parser):
574
574
dest = "run_reconall" ,
575
575
help = "Disable FreeSurfer surface preprocessing." ,
576
576
)
577
+ g_fs .add_argument (
578
+ "--fs-reuse-base" ,
579
+ action = "store_true" ,
580
+ dest = "fs_reuse_base" ,
581
+ help = "Reuse freesurfer base template (from longitudinal preprocessing)" ,
582
+ )
577
583
578
584
g_carbon = parser .add_argument_group ("Options for carbon usage tracking" )
579
585
g_carbon .add_argument (
Original file line number Diff line number Diff line change @@ -533,6 +533,8 @@ class workflow(_Config):
533
533
"""Run *fieldmap-less* susceptibility-derived distortions estimation."""
534
534
hires = None
535
535
"""Run FreeSurfer ``recon-all`` with the ``-hires`` flag."""
536
+ fs_reuse_base = None
537
+ """Adjust pipeline to reuse base template of existing longitudinal freesurfer"""
536
538
ignore = None
537
539
"""Ignore particular steps for *fMRIPrep*."""
538
540
longitudinal = False
Original file line number Diff line number Diff line change @@ -310,6 +310,7 @@ def init_single_subject_wf(subject_id: str):
310
310
existing_derivatives = anat_derivatives ,
311
311
freesurfer = config .workflow .run_reconall ,
312
312
hires = config .workflow .hires ,
313
+ fs_reuse_base = config .workflow .fs_reuse_base ,
313
314
longitudinal = config .workflow .longitudinal ,
314
315
omp_nthreads = config .nipype .omp_nthreads ,
315
316
output_dir = fmriprep_dir ,
You can’t perform that action at this time.
0 commit comments