humann/quantify/modules.py
def minpath_command(reactions_file,metacyc_datafile):
    """
    Return the minpath command and the name of the output file
    """
    
    # Create temp files for the results
    tmpfile=utilities.unnamed_temp_file()
    tmpfile2=utilities.unnamed_temp_file()
    tmpfile3=utilities.unnamed_temp_file()     
    tmpfile4=utilities.unnamed_temp_file()  

    minpath_script=os.path.join(os.path.dirname(os.path.abspath(__file__)),
        config.minpath_script)
    args=[minpath_script,"-any",reactions_file]
    args+=["-map",metacyc_datafile,"-report",tmpfile3]
    args+=["-details",tmpfile,"-mps",tmpfile2]
        
    command=[sys.executable,args,[reactions_file,metacyc_datafile],[],tmpfile4,None,True,None]
    
    return tmpfile, command

    Return the minpath command and the name of the output file
    
Return the minpath command and the name of the output file
Return the minpath command and the name of the output file
def minpath_command(reactions_file,metacyc_datafile):
    tmpfile=utilities.unnamed_temp_file()
    tmpfile2=utilities.unnamed_temp_file()
    tmpfile3=utilities.unnamed_temp_file()     
    tmpfile4=utilities.unnamed_temp_file()  
    minpath_script=os.path.join(os.path.dirname(os.path.abspath(__file__)),
        config.minpath_script)
    args=[minpath_script,"-any",reactions_file]
    args+=["-map",metacyc_datafile,"-report",tmpfile3]
    args+=["-details",tmpfile,"-mps",tmpfile2]
    command=[sys.executable,args,[reactions_file,metacyc_datafile],[],tmpfile4,None,True,None]
    return tmpfile, command
def minpath_command ( reactions_file , metacyc_datafile ) : tmpfile = utilities . unnamed_temp_file ( ) tmpfile2 = utilities . unnamed_temp_file ( ) tmpfile3 = utilities . unnamed_temp_file ( ) tmpfile4 = utilities . unnamed_temp_file ( ) minpath_script = os . path . join ( os . path . dirname ( os . path . abspath ( __file__ ) ) , config . minpath_script ) args = [ minpath_script , "-any" , reactions_file ] args += [ "-map" , metacyc_datafile , "-report" , tmpfile3 ] args += [ "-details" , tmpfile , "-mps" , tmpfile2 ] command = [ sys . executable , args , [ reactions_file , metacyc_datafile ] , [ ] , tmpfile4 , None , True , None ] return tmpfile , command
Return the minpath command and the name of the output file
Return the minpath command and the name of the output file
"""
    Return the minpath command and the name of the output file
    """ # Create temp files for the results
reactions_file
metacyc_datafile