innolitics / freesurfer

The official FreeSurfer repository maintained by LCN
Other
1 stars 2 forks source link

Enable kvlSetMaximumNumberOfThreads #31

Closed yujanshrestha closed 6 years ago

yujanshrestha commented 6 years ago

The option is currently not being used:

https://github.com/innolitics/freesurfer/blob/nf-gems2-python-port/as_python/samseg/run_samseg_ported.py#L125

yujanshrestha commented 6 years ago

The value of --threads should default to os.environ.get('OMP_NUM_THREADS', 1)