def get_qiime_scripts_dir():
 script_fp = which('print_qiime_config.py')
 if (script_fp is None):
  raise ScriptsDirError('Could not find the directory containing QIIME scripts. QIIME scripts must be accessible via the PATH environment variable, and they must be executable. Please ensure that you have a valid QIIME installation (see the QIIME Installation Guide: http://qiime.org/install/install.html).')
 return dirname(script_fp)

def get_qiime_scripts_dir ( ) : script_fp = which ( 'print_qiime_config.py' ) if ( script_fp is None ) : raise ScriptsDirError ( 'Could not find the directory containing QIIME scripts. QIIME scripts must be accessible via the PATH environment variable, and they must be executable. Please ensure that you have a valid QIIME installation (see the QIIME Installation Guide: http://qiime.org/install/install.html).' ) return dirname ( script_fp )
return the directory containing qiime scripts .