Changeset 1719:6e8861564778 in orange-bioinformatics for server_update/updateGO.py


Ignore:
Timestamp:
08/31/12 14:09:46 (20 months ago)
Author:
markotoplak
Branch:
default
Message:

Fixed update scripts for MeSH, GO, HomoloGene, NCBI_geneinfo, OMIM, PPI. Moved wget to Orange.utils.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server_update/updateGO.py

    r1717 r1719  
    22##!contact=ales.erjavec@fri.uni-lj.si 
    33 
    4 import obiGO, obiTaxonomy, obiGene, obiGenomicsUpdate, orngEnviron, orngServerFiles 
     4from Orange.bio import obiGO, obiTaxonomy, obiGene, obiGenomicsUpdate 
     5 
     6import Orange.utils.environ as orngEnviron 
     7import Orange.utils.serverfiles as orngServerFiles 
    58import os, sys, shutil, urllib2, tarfile 
    69from getopt import getopt 
     
    1316from collections import defaultdict 
    1417 
    15 tmpDir = os.path.join(orngEnviron.bufferDir, "tmp_GO") 
     18tmpDir = os.path.join(orngEnviron.buffer_dir, "tmp_GO") 
    1619try: 
    1720    os.mkdir(tmpDir) 
     
    5861 
    5962updatedTaxonomy = defaultdict(set) 
    60 import obiTaxonomy 
    6163 
    6264for org in u.GetAvailableOrganisms(): 
Note: See TracChangeset for help on using the changeset viewer.