def set_cache_dir(cache_dir):
 if ((cache_dir is not None) and (not op.exists(cache_dir))):
  raise IOError(('Directory %s does not exist' % cache_dir))
 set_config('MNE_CACHE_DIR', cache_dir, set_env=False)

def set_cache_dir ( cache_dir ) : if ( ( cache_dir is not None ) and ( not op . exists ( cache_dir ) ) ) : raise IOError ( ( 'Directory %s does not exist' % cache_dir ) ) set_config ( 'MNE_CACHE_DIR' , cache_dir , set_env = False )
set the directory to be used for temporary file storage .