예제 #1
0
def compile_gsea():
    #
    os.chdir('gsea')
    subpcall('make', shell=True)
    rev = subpcall('../bin/mageckGSEA', shell=True)
    os.chdir('../')
    return rev
예제 #2
0
def compile_rra():
    #
    os.chdir('rra')
    subpcall('make', shell=True)
    rev = subpcall('../bin/RRA', shell=True)
    os.chdir('../')
    return rev
예제 #3
0
def compile_rra():
  # 
  os.chdir('rra');
  subpcall('make',shell=True);
  rev=subpcall('../bin/RRA',shell=True);
  os.chdir('../');
  return rev;
예제 #4
0
def run_cmd(command):
    """
    Run a command and save the command's string to the log file

    @type  command: str
    @param command: the command you want to run, for example, "ls -l"
    """
    info("Run: %s" % command)
    subpcall(command, shell=True)
    return
예제 #5
0
def run_cmd(command):
    subpcall (command, shell = True)
예제 #6
0
def run_cmd(command):
    Info(command)
    subpcall(command, shell=True)
예제 #7
0
def run_cmd(command):
    info("Run: %s" % command)
    subpcall(command, shell=True)
    return
예제 #8
0
def run_cmd ( command ):
    info ("Run: %s" % command)
    subpcall (command,shell=True)
    return