1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Author: Tim Booth <tbooth@ceh.ac.uk>
Last-Update: Fri, 28 Feb 2014 16:25:41 +0000
Description: This patch allows biom to work even if there is an older
installation of the biom libs in /usr/local/...
Not sure if this is the neatest fix, but absolute_imports doesn't seem to be
the full answer here as we have one module hooking in another, and probably
looking for the default installed version is normally what you'd want.
--- a/biom/__init__.py
+++ b/biom/__init__.py
@@ -52,6 +52,8 @@ from .table import Table
from .parse import parse_biom_table as parse_table, load_table
from .util import __format_version__, __version__
+from __future__ import absolute_import
+
__author__ = "Daniel McDonald"
__copyright__ = "Copyright 2011-2017, The BIOM Format Development Team"
__credits__ = ["Daniel McDonald", "Jai Ram Rideout", "Greg Caporaso",
|