class_docstr: Freesurfer subject directory and version information.
  
  Examples
  --------
  
  >>> from nipype.interfaces.freesurfer import Info
  >>> Info.version()  # doctest: +SKIP
  >>> Info.subjectsdir()  # doctest: +SKIP
class_docstr_tok: ["Freesurfer","subject","directory","and","version","information",".","Examples","--","--","--","--",">",">",">","from","nipype.interfaces.freesurfer","import","Info",">",">",">","Info.version","(",")","#","doctest",":","+SKIP",">",">",">","Info.subjectsdir","(",")","#","doctest",":","+SKIP"]
docstr: Check the global SUBJECTS_DIR
  
  Parameters
  ----------
  
  subjects_dir :  string
      The system defined subjects directory
  
  Returns
  -------
  
  subject_dir : string
      Represents the current environment setting of SUBJECTS_DIR
docstr_tok: ["Check","the","global","SUBJECTS_DIR","Parameters","--","--","--","--","--","subjects_dir",":","string","The","system","defined","subjects","directory","Returns","--","--","--","-","subject_dir",":","string","Represents","the","current","environment","setting","of","SUBJECTS_DIR"]
code: def subjectsdir(cls):
      """Check the global SUBJECTS_DIR
  
      Parameters
      ----------
  
      subjects_dir :  string
          The system defined subjects directory
  
      Returns
      -------
  
      subject_dir : string
          Represents the current environment setting of SUBJECTS_DIR
  
      """
      if cls.version():
          return os.environ["SUBJECTS_DIR"]
      return None
  
imports: import os
  from looseversion import LooseVersion
  from ...utils.filemanip import fname_presuffix
  from ..base import CommandLine, Directory, CommandLineInputSpec, isdefined, traits, TraitedSpec, File, PackageInfo
label_desc: Use image node_id 3 for calling the Info obj's underlying member method code with example usage: obj.subjectsdir(cls) and returns: None, os