class_docstr: Shared options for several AFNI commands.
docstr: Instantiate an AFNI command tool wrapper.
code: def __init__(self, **inputs):
      """Instantiate an AFNI command tool wrapper."""
      super().__init__(**inputs)
      self.inputs.on_trait_change(self._output_update, "outputtype")
  
      if hasattr(self.inputs, "num_threads"):
          self.inputs.on_trait_change(
              self._nthreads_update, "num_threads"
          )
  
      if self._outputtype is None:
          self._outputtype = Info.outputtype()
  
      if not isdefined(self.inputs.outputtype):
          self.inputs.outputtype = self._outputtype
      else:
          self._output_update()
  
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 4 to create a new AFNICommand object from inherited base classes: AFNICommandBase with example: obj = AFNICommand()