Ignore:
Timestamp:
04/16/12 19:53:28 (2 years ago)
Author:
mitar
Branch:
default
Message:

Fixing imports.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/bioinformatics/widgets/OWKEGGPathwayBrowser.py

    r1625 r1632  
    55<icon>icons/KEGG.png</icon> 
    66""" 
    7 from __future__ import with_statement  
     7 
     8from __future__ import absolute_import, with_statement  
    89 
    910import sys 
     11from collections import defaultdict 
     12import webbrowser 
     13 
    1014import orange 
    11 import obiKEGG, orngServerFiles 
    12 import obiTaxonomy 
    13  
    14 import obiKEGG2 as obiKEGG 
    15 import obiGeneSets 
    16 import orngMisc 
    17  
    18 import webbrowser 
    19  
    20 from OWWidget import * 
    21 import OWGUI 
    22 from collections import defaultdict 
    23  
    24 from orngDataCaching import data_hints 
     15from Orange.orng import orngMisc 
     16from Orange.orng.orngDataCaching import data_hints 
     17from Orange.OrangeWidgets import OWGUI 
     18from Orange.OrangeWidgets.OWWidget import * 
     19 
     20from .. import obiKEGG, orngServerFiles 
     21from .. import obiTaxonomy 
     22from .. import obiKEGG2 as obiKEGG 
     23from .. import obiGeneSets 
    2524 
    2625USE_THREADING = True 
     
    725724         
    726725    def ClearCache(self): 
    727         from obiKEGG2 import caching 
     726        from ..obiKEGG2 import caching 
    728727        try: 
    729728            caching.clear_cache() 
     
    751750             
    752751    def saveGraph(self): 
    753         from OWDlgs import OWChooseImageSizeDlg 
     752        from Orange.OrangeWidgets.OWDlgs import OWChooseImageSizeDlg 
    754753        sizeDlg = OWChooseImageSizeDlg(self.pathwayView.scene(), parent=self) 
    755754        sizeDlg.exec_() 
     
    782781        pass         
    783782           
    784 import obiProb 
     783from .. import obiProb 
    785784 
    786785def pathway_enrichment(genesets, genes, reference, prob=None, callback=None): 
Note: See TracChangeset for help on using the changeset viewer.