Commits

Aleš Erjavec  committed 32734be

Show a warning with a download link if suds is not installed.

  • Participants
  • Parent commits 877a0e7

Comments (0)

Files changed (1)

File widgets/OWKEGGPathwayBrowser.py

         
         
     def UpdateOrganismComboBox(self):
+        # First try to import suds
+        try:
+            import suds
+        except ImportError:
+            QMessageBox.warning(self,
+                "'suds' library required.",
+                '<p>Please install \
+<a href="http://pypi.python.org/pypi/suds">suds</a> library \
+to use KEGG Pathways widget.</p>'
+                )
+            
         try:
             genome = obiKEGG.KEGGGenome()
             all_codes = list(genome)