def build_denoiser():
 status('Building denoiser...')
 if (not app_available('ghc')):
  status("GHC not installed, so cannot build the denoiser binary 'FlowgramAli_4frame'.\n")
  return
 cwd = getcwd()
 denoiser_dir = join(cwd, 'qiime/support_files/denoiser/FlowgramAlignment')
 try:
  chdir(denoiser_dir)
  if (not system_call('make clean', 'clean denoiser build directory')):
   return
  if (not system_call('make', 'build denoiser')):
   return
  status('Denoiser built.\n')
 finally:
  chdir(cwd)

def build_denoiser ( ) : status ( 'Building denoiser...' ) if ( not app_available ( 'ghc' ) ) : status ( "GHC not installed, so cannot build the denoiser binary 'FlowgramAli_4frame'.\n" ) return cwd = getcwd ( ) denoiser_dir = join ( cwd , 'qiime/support_files/denoiser/FlowgramAlignment' ) try : chdir ( denoiser_dir ) if ( not system_call ( 'make clean' , 'clean denoiser build directory' ) ) : return if ( not system_call ( 'make' , 'build denoiser' ) ) : return status ( 'Denoiser built.\n' ) finally : chdir ( cwd )
build the denoiser code binary .