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

    r1625 r1632  
    77""" 
    88 
    9 from __future__ import with_statement 
    10  
    11 import obiGO 
    12 import obiProb 
    13 import obiTaxonomy 
    14 import obiGene 
    15 import sys, os, tarfile, math 
    16 import gc 
    17 import OWGUI 
    18 import orngServerFiles 
    19  
    20 from os.path import join as p_join 
    21 from OWWidget import * 
     9from __future__ import absolute_import, with_statement 
     10 
    2211from collections import defaultdict 
    2312from functools import partial 
    24  
    25 from orngDataCaching import data_hints 
     13import gc 
     14import sys, os, tarfile, math 
     15from os.path import join as p_join 
     16 
     17from Orange.orng import orngServerFiles 
     18from Orange.orng.orngDataCaching import data_hints 
     19from Orange.OrangeWidgets import OWGUI 
     20from Orange.OrangeWidgets.OWWidget import * 
     21 
     22from .. import obiGene, obiGO, obiProb, obiTaxonomy 
    2623 
    2724dataDir = orngServerFiles.localpath("GO") 
     
    4845 
    4946def getOrgFileName(org): 
    50     import orngServerFiles 
     47    from Orange.orng import orngServerFiles 
    5148    files = orngServerFiles.listfiles("go") 
    5249    return [f for f in files if org in f].pop() 
     
    312309 
    313310    def UpdateGOAndAnnotation(self, tags=[]): 
    314         from OWUpdateGenomicsDatabases import OWUpdateGenomicsDatabases 
     311        from .OWUpdateGenomicsDatabases import OWUpdateGenomicsDatabases 
    315312        w = OWUpdateGenomicsDatabases(parent = self, searchString=" ".join(tags)) 
    316313        w.setModal(True) 
Note: See TracChangeset for help on using the changeset viewer.