Commits

Aleš Erjavec  committed 8b2d53e

Fixed 'organism_name_search' method.

  • Participants
  • Parent commits fad34df

Comments (0)

Files changed (1)

File _bioinformatics/obiKEGG/__init__.py

         genome = KEGGGenome()
         try:
             name = genome.org_code_to_entry_key(name)
-        except KeyError:
+        except ValueError:
             pass
 
         if name not in genome: