Skip to content

Commit a512fec

Browse files
feilongoesteban
authored andcommitted
Turn off random seeding for ANTs brain extraction
This would make the brain extraction results fully replicable when used with `--omp-nthreads 1`. See #917
1 parent cecd8e0 commit a512fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fmriprep/workflows/anatomical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ def init_skullstrip_ants_wf(skull_strip_template, debug, omp_nthreads, name='sku
633633

634634
t1_skull_strip = pe.Node(
635635
BrainExtraction(dimension=3, use_floatingpoint_precision=1, debug=debug,
636-
keep_temporary_files=1),
636+
keep_temporary_files=1, use_random_seeding=False),
637637
name='t1_skull_strip', n_procs=omp_nthreads)
638638

639639
t1_skull_strip.inputs.brain_template = brain_template

0 commit comments

Comments
 (0)