class_docstr: Handle FSL ``output_type`` and version information.
  
  output type refers to the type of file fsl defaults to writing
  eg, NIFTI, NIFTI_GZ
  
  Examples
  --------
  
  >>> from nipype.interfaces.fsl import Info
  >>> Info.version()  # doctest: +SKIP
  >>> Info.output_type()  # doctest: +SKIP
docstr: Get the global FSL output file type FSLOUTPUTTYPE.
  
  This returns the value of the environment variable
  FSLOUTPUTTYPE.  An exception is raised if it is not defined.
  
  Returns
  -------
  fsl_ftype : string
      Represents the current environment setting of FSLOUTPUTTYPE
docstr_tok: ["Get","the","global","FSL","output","file","type","FSLOUTPUTTYPE",".","This","returns","the","value","of","the","environment","variable","FSLOUTPUTTYPE",".","An","exception","is","raised","if","it","is","not","defined",".","Returns","--","--","--","-","fsl_ftype",":","string","Represents","the","current","environment","setting","of","FSLOUTPUTTYPE"]
code: def output_type(cls):
      """Get the global FSL output file type FSLOUTPUTTYPE.
  
      This returns the value of the environment variable
      FSLOUTPUTTYPE.  An exception is raised if it is not defined.
  
      Returns
      -------
      fsl_ftype : string
          Represents the current environment setting of FSLOUTPUTTYPE
      """
      try:
          return os.environ["FSLOUTPUTTYPE"]
      except KeyError:
          IFLOGGER.warning(
              "FSLOUTPUTTYPE environment variable is not set. "
              "Setting FSLOUTPUTTYPE=NIFTI"
          )
          return "NIFTI"
  
imports: from glob import glob
  import os
  from ...None import logging
  from ...utils.filemanip import fname_presuffix
  from ..base import traits, isdefined, CommandLine, CommandLineInputSpec, PackageInfo
  from ...external.due import BibTeX
label_desc: Use image node_id 3 for calling the Info obj's underlying member method code with example usage: obj.output_type(cls) and returns: os, str