Changeset 1756:ec01f8aa98a9 in orange-bioinformatics for server_update/updateSTRING.py


Ignore:
Timestamp:
04/19/13 16:40:44 (12 months ago)
Author:
markotoplak
Branch:
default
Message:

STRING database build: do not unzip files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server_update/updateSTRING.py

    r1753 r1756  
    3434        filename = sf_local.localpath("PPI",  sfn) 
    3535 
    36         if os.path.exists(filename): 
     36        if os.path.exists(filename): #remvoe prebuilt sqlite database 
    3737            os.remove(filename) 
    3838 
    3939        cl.download_data(version) 
    4040 
    41         gzfile = gzip.GzipFile(filename + ".gz", "wb") 
     41        gzfile = gzip.GzipFile(filename + ".gz", "wb") #gzip the database 
    4242        shutil.copyfileobj(open(filename, "rb"), gzfile) 
    4343 
Note: See TracChangeset for help on using the changeset viewer.