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/OWSetEnrichment.py

    r1625 r1632  
    11"""<name>Gene Set Enrichment</name> 
    22""" 
    3 from __future__ import with_statement 
    4  
    5 from OWWidget import * 
    6  
    7 import obiGeneSets 
    8 import obiGene 
    9 import obiTaxonomy 
    10 import obiProb 
    11 import OWGUI 
     3 
     4from __future__ import absolute_import, with_statement 
    125 
    136import math 
    14 import orngServerFiles 
    15 import orngEnviron 
    16  
    17 from orngDataCaching import data_hints 
    18  
    197from collections import defaultdict 
    208 
    21 from OWGUI import LinkStyledItemDelegate, LinkRole 
    22 from OWGUI import BarItemDelegate 
     9from Orange.orng import orngEnviron, orngServerFiles 
     10from Orange.orng.orngDataCaching import data_hints 
     11from Orange.OrangeWidgets import OWGUI 
     12from Orange.OrangeWidgets.OWGUI import LinkStyledItemDelegate, LinkRole 
     13from Orange.OrangeWidgets.OWGUI import BarItemDelegate 
     14from Orange.OrangeWidgets.OWWidget import * 
     15 
     16from .. import obiGene, obiGeneSets, obiProb, obiTaxonomy 
    2317 
    2418def _toPyObject(variant): 
     
    148142                        checkCallback=self.filterAnnotationsChartView) 
    149143         
    150         import OWGUIEx 
     144        from Orange.OrangeWidgets import OWGUIEx 
    151145        self.filterLineEdit = OWGUIEx.QLineEditWithActions(self) 
    152146        self.filterLineEdit.setPlaceholderText("Filter ...") 
     
    319313         
    320314    def updateGeneMatcherSettings(self): 
    321         from OWGOEnrichmentAnalysis import GeneMatcherDialog 
     315        from .OWGOEnrichmentAnalysis import GeneMatcherDialog 
    322316        dialog = GeneMatcherDialog(self, defaults=self.geneMatcherSettings, enabled=[True] * 4, modal=True) 
    323317        if dialog.exec_(): 
     
    428422         
    429423        results = [] 
    430         from orngMisc import progressBarMilestones 
     424        from Orange.orng.orngMisc import progressBarMilestones 
    431425         
    432426        milestones = progressBarMilestones(len(collections), 100) 
Note: See TracChangeset for help on using the changeset viewer.