Changeset 1950:38e8e32e50a3 in orange-bioinformatics


Ignore:
Timestamp:
01/29/14 12:00:01 (3 months ago)
Author:
markotoplak
Branch:
default
Message:

Add all scripts to the updater.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server_update/updater.py

    r1721 r1950  
    77 
    88if not args: 
     9    #args = filter(lambda x: x.endswith('.py') and x.startswith('update') and not x.startswith('updater'), os.listdir('.')) 
    910    args = ["updateTaxonomy.py", "updateGO.py", "updateMeSH.py", "updateNCBI_geneinfo.py", 
    10             "updateHomoloGene.py", "updateDictyBase.py", "updatePPI.py"] 
     11            "updateHomoloGene.py", "updateDictyBase.py", "updatePPI.py", "updateReactomePathways.py", 
     12            "updateGeneSets.py", "updateGEO.py", "updatemiRNA.py", "updateSTRING.py", "updateCytobands.py", 
     13            "updateMeSH.py" ] 
    1114     
    1215for script in args: 
     16    print script 
    1317    log = open(os.path.join(option.log_dir, script + ".log.txt"), "wb") 
    1418    p = subprocess.Popen([sys.executable, script, "-u", option.user, "-p", option.password], stdout=log, stderr=log) 
     
    1721    log.write("\n" + script + " exited with exit status %s" % p.poll()) 
    1822    log.close() 
     23    print "\n" + script + " exited with exit status %s" % p.poll() 
    1924    if option.mailto: 
    2025        fromaddr = "orange@fri.uni-lj.si" 
Note: See TracChangeset for help on using the changeset viewer.