Changeset 1720:354d91b1af9f in orange-bioinformatics for _bioinformatics/obiPPI.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
  • _bioinformatics/obiPPI.py

    r1719 r1720  
    944944        links_filename = os.path.join(dir, os.path.splitext(links_filename)[0]) 
    945945        if not os.path.exists(links_filename): 
    946             shutil.copyfileobj(gz, open(links_filename)) 
     946            shutil.copyfileobj(gz, open(links_filename, "wb")) 
    947947         
    948948        cls.init_db(version, taxids) 
Note: See TracChangeset for help on using the changeset viewer.