Changeset 1720:354d91b1af9f in orange-bioinformatics for server_update/updateTaxonomy.py


Ignore:
Timestamp:
09/01/12 14:58:03 (20 months ago)
Author:
markotoplak
Branch:
default
Message:

Fixed update scripts for STRING and Taxonomy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server_update/updateTaxonomy.py

    r1717 r1720  
    22##!contact=ales.erjavec@fri.uni-lj.si 
    33 
    4 import obiTaxonomy 
    5 import orngServerFiles 
     4from Orange.bio import obiTaxonomy 
     5import Orange.utils.serverfiles as orngServerFiles 
     6import Orange.utils.environ 
    67 
    7 import orngEnviron 
    88import os, sys, tarfile 
    99import socket 
     
    1616password = opt.get("-p", opt.get("--password", "password")) 
    1717 
    18 path = os.path.join(orngEnviron.bufferDir, "tmp_Taxonomy") 
     18path = os.path.join(Orange.utils.environ.buffer_dir, "tmp_Taxonomy") 
    1919serverFiles = orngServerFiles.ServerFiles(username, password) 
    2020u = obiTaxonomy.Update(local_database_path=path) 
Note: See TracChangeset for help on using the changeset viewer.