Changeset 1719:6e8861564778 in orange-bioinformatics for server_update/updateNCBI_geneinfo.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/updateNCBI_geneinfo.py

    r1717 r1719  
    11##interval:7 
    2 import obiGene, obiTaxonomy 
    3 import orngServerFiles, orngEnviron 
     2from Orange.bio import obiGene, obiTaxonomy 
     3import Orange.utils.serverfiles as orngServerFiles 
     4import Orange.utils.environ as orngEnviron 
    45import sys, os 
    56from gzip import GzipFile 
     
    89opt = dict(getopt(sys.argv[1:], "u:p:", ["user=", "password="])[0]) 
    910 
    10 tmpdir = os.path.join(orngEnviron.bufferDir, "tmp_NCBIGene_info") 
     11tmpdir = os.path.join(orngEnviron.buffer_dir, "tmp_NCBIGene_info") 
    1112try: 
    1213    os.mkdir(tmpdir) 
Note: See TracChangeset for help on using the changeset viewer.