class_docstr: Shared options for several AFNI commands.
code: def _overload_extension(self, value, name=None):
      path, base, _ = split_filename(value)
      return os.path.join(
          path, base + Info.output_type_to_ext(self.inputs.outputtype)
      )
  
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 7 for calling the AFNICommand obj's underlying member method code with example usage: obj._overload_extension(value, name) and returns: os