From 1bd98de2230f03db0a8bdff8922eca1eae195480 Mon Sep 17 00:00:00 2001 From: "Martin K. Scherer" Date: Sun, 24 Jun 2018 12:42:48 +0200 Subject: [PATCH] use absolute imports --- thermotools/__init__.py | 4 ++-- thermotools/cset.py | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/thermotools/__init__.py b/thermotools/__init__.py index 4f3457c..d0b2627 100644 --- a/thermotools/__init__.py +++ b/thermotools/__init__.py @@ -33,14 +33,14 @@ from ._version import get_versions -__author__ = "Christoph Wehmeyer, Fabian Paul, Antonia Mey, Martin Scherer" +__author__ = "Christoph Wehmeyer, Fabian Paul, Antonia Mey, Martin K. Scherer" __copyright__ = "Copyright 2015, 2016 Computational Molecular Biology Group, FU-Berlin" __credits__ = [ "Christoph Wehmeyer", "Fabian Paul", "Antonia Mey", "Benjamin Trendelkamp-Schroer", - "Martin Scherer", + "Martin K. Scherer", "Hao Wu", "John D. Chodera", "Frank Noe"], diff --git a/thermotools/cset.py b/thermotools/cset.py index 7949b3e..2a8acc4 100644 --- a/thermotools/cset.py +++ b/thermotools/cset.py @@ -18,6 +18,7 @@ r""" This module provides functions to deal with connected sets. """ +from __future__ import absolute_import __all__ = [ 'compute_csets_TRAM', @@ -28,9 +29,9 @@ import scipy as _sp import scipy.sparse as _sps import msmtools as _msmtools -import bar as _bar -import util as _util -import collections as _collections +import thermotools.bar as _bar +import thermotools.util as _util + def compute_csets_TRAM( connectivity, state_counts, count_matrices, equilibrium_state_counts=None,