Changeset 1552:736722ec7ff6 in orange-bioinformatics


Ignore:
Timestamp:
02/05/12 18:45:56 (2 years ago)
Author:
ales_erjavec
Branch:
default
Message:

Fixed taxid mapping in to_taxid function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiKEGG2/__init__.py

    r1550 r1552  
    243243def to_taxid(name): 
    244244    genome = KEGGGenome() 
     245    if name in genome: 
     246        return genome[name].taxid 
     247     
    245248    keys = genome.search(name) 
    246249    if keys: 
Note: See TracChangeset for help on using the changeset viewer.