def set_fs_home():
 fs_home = get_fs_home()
 if (fs_home is None):
  return False
 else:
  os.environ['FREESURFER_HOME'] = fs_home
  return True

def set_fs_home ( ) : fs_home = get_fs_home ( ) if ( fs_home is None ) : return False else : os . environ [ 'FREESURFER_HOME' ] = fs_home return True
set the freesurfer_home environment variable .