class_docstr: Handle afni output type and version information.
docstr: Grab an image from the standard location.
  
  Could be made more fancy to allow for more relocatability
code: def standard_image(img_name):
      """
      Grab an image from the standard location.
  
      Could be made more fancy to allow for more relocatability
  
      """
      clout = CommandLine(
          "which afni",
          ignore_exception=True,
          resource_monitor=False,
          terminal_output="allatonce",
      ).run()
      if clout.runtime.returncode != 0:
          return None
  
      out = clout.runtime.stdout
      basedir = os.path.split(out)[0]
      return os.path.join(basedir, img_name)
  
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 for calling the Info obj's underlying member method code with example usage: obj.standard_image(img_name) and returns: os, None