Changeset 1733:548d1187a29f in orange-bioinformatics for _bioinformatics/obiKEGG/pathway.py


Ignore:
Timestamp:
03/05/13 19:48:00 (14 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Porting obiKEGG to use the new REST KEGG API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _bioinformatics/obiKEGG/pathway.py

    r1716 r1733  
    1616from . import conf 
    1717from . import caching 
     18from . import api 
    1819 
    1920from Orange.utils import deprecated_attribute 
    20      
     21 
     22 
    2123def cached_method(func, cache_name="_cached_method_cache", store=None): 
    2224    def wrapper(self, *args, **kwargs): 
     
    275277        """ 
    276278        return self._get_image_filename() 
    277      
     279 
    278280    @classmethod 
    279281    def list(cls, organism): 
    280         from . import api  
    281282        kegg = api.CachedKeggApi() 
    282283        return kegg.list_pathways(organism) 
    283      
Note: See TracChangeset for help on using the changeset viewer.