Changeset 1632:9cf919d0f343 in orange-bioinformatics for Orange/bioinformatics/widgets/OWGeneInfo.py


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

    r1625 r1632  
    66<icon>icons/GeneInfo.png</icon> 
    77""" 
    8 from __future__ import with_statement 
    9  
    10 import obiGene, obiTaxonomy 
    11 import orange 
    12 import orngServerFiles 
    13  
    14 from OWWidget import * 
    15 import OWGUI 
    16  
    17 from orngDataCaching import data_hints 
     8 
     9from __future__ import absolute_import, with_statement 
    1810 
    1911from collections import defaultdict 
    2012from functools import partial 
     13 
     14import orange 
     15from Orange.orng import orngServerFiles 
     16from Orange.orng.orngDataCaching import data_hints 
     17from Orange.OrangeWidgets import OWGUI 
     18from Orange.OrangeWidgets.OWWidget import * 
     19 
     20from .. import obiGene, obiTaxonomy 
    2121 
    2222class TreeModel(QAbstractItemModel): 
     
    6565        return QVariant() 
    6666 
    67 from OWGUI import LinkStyledItemDelegate, LinkRole 
     67from Orange.OrangeWidgets.OWGUI import LinkStyledItemDelegate, LinkRole 
    6868 
    6969def lru_cache(maxsize=100): 
     
    148148     
    149149def dicty_info(taxid, genes): 
    150     import obiDicty  
     150    from .. import obiDicty  
    151151    info = obiDicty.DictyBase() 
    152152    name_matcher = obiGene.GMDicty() 
     
    463463         
    464464    def sendReport(self): 
    465         import OWReport 
     465        from Orange.OrangeWidgets import OWReport 
    466466        genes, matched = self.matchedInfo 
    467467        info, org = self.currentLoaded 
Note: See TracChangeset for help on using the changeset viewer.