Commits

Aleš Erjavec  committed 3648801

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

  • Participants
  • Parent commits 9bc83a6

Comments (0)

Files changed (1)

File widgets/OWKEGGPathwayBrowser.py

             result = {}
             def call(pathway_id):
                 result["pathway"] = p = obiKEGG.KEGGPathway(pathway_id)
-                p.title # makes sure the kgml file is downloaded
-                p.image
-                p.get_image() # makes sure the image is downloaded
+                p._get_kgml() # makes sure the kgml file is downloaded
+                p._get_image_filename() # makes sure the image is downloaded
                 
             self.setEnabled(False)
             try: