/usr/lib/python2.7/dist-packages/cogent/draw/__init__.py is in python-cogent 1.9-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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-2016, The Cogent Project"
__contributors__ = ["Peter Maxwell", "Gavin Huttley", "Rob Knight",
"Zongzhi Liu", "Matthew Wakefield", "Stephanie Wilson"]
__license__ = "GPL"
__version__ = "1.9"
__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")
|