Changeset 1716:4c4266f7c5a5 in orange-bioinformatics for _bioinformatics/obiGene.py


Ignore:
Timestamp:
08/30/12 16:05:10 (20 months ago)
Author:
markotoplak
Branch:
default
Message:

Removed the old version of obiKEGG. Renamed obiKEGG2 -> obiKEGG.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _bioinformatics/obiGene.py

    r1715 r1716  
    66 
    77from . import obiTaxonomy 
     8from . import obiKEGG 
    89 
    910default_database_path = orngServerFiles.localpath("NCBI_geneinfo") 
     
    648649 
    649650    def _organism_name(self, organism): 
    650         from . import obiKEGG2 
    651         return obiKEGG2.organism_name_search(organism) 
     651        return obiKEGG.organism_name_search(organism) 
    652652 
    653653    def create_aliases(self): 
    654654        organism = self._organism_name(self.organism) 
    655         from . import obiKEGG2 
    656         org = obiKEGG2.KEGGOrganism(self.organism, genematcher=GMDirect()) 
     655        org = obiKEGG.KEGGOrganism(self.organism, genematcher=GMDirect()) 
    657656        osets = org._gm_gene_aliases() 
    658657        return osets 
    659658 
    660659    def create_aliases_version(self): 
    661         from . import obiKEGG2 
    662         return obiKEGG2.KEGGOrganism.organism_version(self.organism) + ".1" 
     660        return obiKEGG.KEGGOrganism.organism_version(self.organism) + ".1" 
    663661 
    664662    def filename(self): 
Note: See TracChangeset for help on using the changeset viewer.