File: __init__.py

package info (click to toggle)
python-cogent 1.5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 16,424 kB
  • ctags: 24,343
  • sloc: python: 134,200; makefile: 100; ansic: 17; sh: 10
file content (25 lines) | stat: -rw-r--r-- 905 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env python

__all__ = [ 'dendrogram', 'dotplot', 'linear', 'colors', 'TrackDefn',
            'Display', 'DisplayPolicy', 'Area', 'Arrow', 'BluntArrow', 
            'Box', 'Diamond'] + [
            'arrow_rates', 'dinuc', 'fancy_arrow', 'codon_usage','util']

__copyright__ = "Copyright 2007-2012, The Cogent Project"
__contributors__ = ["Peter Maxwell", "Gavin Huttley", "Rob Knight", 
                    "Zongzhi Liu", "Matthew Wakefield", "Stephanie Wilson"]
__license__ = "GPL"
__version__ = "1.5.3"
__status__ = "Production"

from cogent.draw.linear import (colors, TrackDefn, Display, DisplayPolicy, 
        Area, Arrow, BluntArrow, Box, Diamond)

try:
    import cogent.draw.matplotlib
except ImportError:
    pass
else:
    import warnings
    warnings.warn("You still have a cogent/draw/matplotlib subpackage" +
        " present, that will cause problems for matplotlib imports")