Changeset 1579:364880120934 in orange-bioinformatics for widgets/OWKEGGPathwayBrowser.py


Ignore:
Timestamp:
02/23/12 10:57:57 (2 years ago)
Author:
ales_erjavec
Branch:
default
rebase_source:
de52929a0ef6da623385e90a904ca5cefb0a924e
Message:

Only download the .xml kgml files in a separate thread, don't parse it (pyexpat in a thread seems to crash Qt).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • widgets/OWKEGGPathwayBrowser.py

    r1577 r1579  
    502502            def call(pathway_id): 
    503503                result["pathway"] = p = obiKEGG.KEGGPathway(pathway_id) 
    504                 p.title # makes sure the kgml file is downloaded 
    505                 p.image 
    506                 p.get_image() # makes sure the image is downloaded 
     504                p._get_kgml() # makes sure the kgml file is downloaded 
     505                p._get_image_filename() # makes sure the image is downloaded 
    507506                 
    508507            self.setEnabled(False) 
Note: See TracChangeset for help on using the changeset viewer.