class_docstr: Base support for FSL commands.
docstr: Set the default output type for FSL classes.
  
  This method is used to set the default output type for all fSL
  subclasses.  However, setting this will not update the output
  type for any existing instances.  For these, assign the
  <instance>.inputs.output_type.
docstr_tok: ["Set","the","default","output","type","for","FSL","classes",".","This","method","is","used","to","set","the","default","output","type","for","all","fSL","subclasses",".","However",",","setting","this","will","not","update","the","output","type","for","any","existing","instances",".","For","these",",","assign","the","<","instance",">",".inputs.output_type","."]
code: def set_default_output_type(cls, output_type):
      """Set the default output type for FSL classes.
  
      This method is used to set the default output type for all fSL
      subclasses.  However, setting this will not update the output
      type for any existing instances.  For these, assign the
      <instance>.inputs.output_type.
      """
  
      if output_type in Info.ftypes:
          cls._output_type = output_type
      else:
          raise AttributeError(
              "Invalid FSL output_type: %s" % output_type
          )
  
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 FSLCommand obj's underlying member method code with example usage: obj.set_default_output_type(cls, output_type) without return types