class_docstr: Shared options for several AFNI commands.
docstr: Update environment with new number of threads.
code: def _nthreads_update(self):
      """Update environment with new number of threads."""
      self.inputs.environ["OMP_NUM_THREADS"] = (
          "%d" % self.inputs.num_threads
      )
  
imports: import os
  from sys import platform
  import shutil
  from looseversion import LooseVersion
  from ...None import logging
  from ...utils.filemanip import split_filename, fname_presuffix
  from ..base import CommandLine, traits, CommandLineInputSpec, isdefined, File, TraitedSpec, PackageInfo
  from ...external.due import BibTeX
label_desc: Use image node_id 5 for calling the AFNICommand obj's underlying member method code with example usage: obj._nthreads_update() without return types