Skip to content

Commit

Permalink
conform with new style rules
Browse files Browse the repository at this point in the history
  • Loading branch information
bpinsard committed Jan 15, 2024
1 parent 0767f70 commit 1fa23b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion smriprep/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def get_parser():
'(default: OUTPUT_DIR/freesurfer)',
)
g_fs.add_argument(
"--fs-reuse-base",
'--fs-reuse-base',
action='store_true',
dest='fs_reuse_base',
help='Reuse freesurfer base template'
Expand Down
10 changes: 5 additions & 5 deletions smriprep/workflows/surfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,21 +248,21 @@ def init_surface_recon_wf(

if not fs_reuse_base:

recon_config = pe.Node(FSDetectInputs(hires_enabled=hires), name="recon_config")
recon_config = pe.Node(FSDetectInputs(hires_enabled=hires), name='recon_config')

fov_check = pe.Node(niu.Function(function=_check_cw256), name="fov_check")
fov_check = pe.Node(niu.Function(function=_check_cw256), name='fov_check')
fov_check.inputs.default_flags = ['-noskullstrip', '-noT2pial', '-noFLAIRpial']

autorecon1 = pe.Node(
ReconAll(directive="autorecon1", openmp=omp_nthreads),
name="autorecon1",
ReconAll(directive='autorecon1', openmp=omp_nthreads),
name='autorecon1',
n_procs=omp_nthreads,
mem_gb=5,
)
autorecon1.interface._can_resume = False
autorecon1.interface._always_run = True

skull_strip_extern = pe.Node(FSInjectBrainExtracted(), name="skull_strip_extern")
skull_strip_extern = pe.Node(FSInjectBrainExtracted(), name='skull_strip_extern')

autorecon_resume_wf = init_autorecon_resume_wf(omp_nthreads=omp_nthreads)

Expand Down

0 comments on commit 1fa23b9

Please sign in to comment.