Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Commit bae52b1

Browse files
committed
Merge pull request #379 from rmcgibbo/2.8.1-bugfix
2.8.1 bugfix
2 parents c5cf6ec + 757144d commit bae52b1

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ include RevisionHistory.txt
55
graft src
66
graft reference
77
graft tests
8-
graft TUTORIAL/xtc
8+
graft Tutorial
99
graft Docs
1010
graft Extras

scripts/Interactive-SCRE.py scripts/InteractiveSCRE.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from msmbuilder import MSMLib, SCRE, arglib
99
import numpy as np
1010
import string
11-
import matplotlib
1211
import logging
1312
logger = logging.getLogger('msmbuilder.scripts.Interactive-SCRE')
1413

@@ -89,6 +88,7 @@ def scre_iteration(assignments,K0,lagtime_list,M,X,populations):
8988
run = interactive_scre
9089

9190
if __name__ == "__main__":
91+
import matplotlib
9292
args = parser.parse_args()
9393

9494
try:

scripts/PlotImpliedTimescales.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
# along with this program; if not, write to the Free Software
1818
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1919

20-
from pylab import *
2120
from numpy import loadtxt
2221
import sys
2322
from msmbuilder import arglib
@@ -37,6 +36,7 @@
3736
default='Relaxation Timescale versus Lagtime')
3837

3938
if __name__ == '__main__':
39+
from pylab import *
4040
args = parser.parse_args()
4141
input = np.loadtxt(args.input)
4242

scripts/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
'ConvertDataToHDF',
3333
'CreateAtomIndices',
3434
'FindPaths',
35-
'Interactive-SCRE',
35+
'InteractiveSCRE',
3636
'PCCA',
3737
'PlotImpliedTimescales',
3838
'RebuildProject',
3939
'SampleTrajectory',
4040
'SaveStructures',
4141
'TrimAssignments',
42-
'tICA_train']
42+
'tICA_train']

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
from distutils.core import setup
2121

2222
#########################################
23-
VERSION = "2.8"
24-
ISRELEASED = False
23+
VERSION = "2.8.1"
24+
ISRELEASED = True
2525
__author__ = "MSMBuilder Team"
2626
__version__ = VERSION
2727
########################################
@@ -83,7 +83,7 @@ class VersionError(Exception):
8383
'package_dir': {'msmbuilder': 'src/python', 'msmbuilder.scripts': 'scripts',
8484
'msmbuilder.reference': 'reference'},
8585
'package_data': {'msmbuilder.reference': [os.path.relpath(os.path.join(a[0], b), 'reference') for a in os.walk('reference') for b in a[2]]},
86-
'scripts': ['scripts/msmb'] + [e for e in glob('scripts/*') if not e.endswith('__.py')]
86+
'scripts': ['scripts/msmb'] + [e for e in glob('scripts/*') if (not e.endswith('__.py')) or e.endswith('.pyc')]
8787
}
8888

8989
if 'setuptools' in sys.modules:

src/python/SCRE.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import scipy.linalg
44
import scipy.optimize
55
import scipy.stats
6-
import matplotlib
76

87

98
def GetFormat():
@@ -240,6 +239,7 @@ def PlotRates(KList, LagTimeList, counts_list, Tau=1):
240239
The time unit associated with spacings between lagtimes.
241240
242241
"""
242+
import matplotlib
243243
KList = np.array(KList)
244244
NumStates = KList.shape[-1]
245245
TauList = Tau / KList

0 commit comments

Comments
 (0)