Changeset 1632:9cf919d0f343 in orange-bioinformatics for Orange/bioinformatics/obimiRNA.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/obimiRNA.py

    r1625 r1632  
    1 from __future__ import division 
    2 import urllib 
    3 import re 
    4 #import pylab 
    5 import random 
    6 import os 
    7 import math 
    8 #import locale 
     1from __future__ import absolute_import, division 
     2 
     3from collections import defaultdict 
     4import math, os, random, re, urllib 
     5 
     6from Orange.orng import orngServerFiles as osf 
    97import statc 
    10 #import numpy as np 
    11 import math 
    12  
    13 import obiTaxonomy 
    14 import obiGO as go 
    15 import obiProb as op 
    16 import orngServerFiles as osf 
    17 import obiGene as ge 
    18 import obiKEGG as kg 
    19  
    20 from collections import defaultdict 
    21  
     8 
     9from . import obiGene as ge, obiGO as go, obiKEGG as kg, obiProb as op, obiTaxonomy 
    2210 
    2311mirnafile = osf.localpath_download('miRNA','miRNA.txt') 
     
    315303    """ 
    316304     
    317     import obiGene 
     305    from . import obiGene 
    318306    genematcher = obiGene.matcher([obiGene.GMGO(annotations.taxid)] + \ 
    319307        ([obiGene.GMDicty()] if annotations.taxid == "352472"  else [])) 
Note: See TracChangeset for help on using the changeset viewer.