Skip to content

Commit

Permalink
msm: fixes code style
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddesancho committed Apr 30, 2019
1 parent 9ece804 commit 8d08649
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mastermsm/msm/msm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
This file is part of the MasterMSM package.
"""
import os
import warnings

#import sys
import math
from functools import reduce, cmp_to_key
Expand Down Expand Up @@ -197,7 +195,6 @@ def ck_test(self, init=None, sliding=True, error=True, out=None, time=None):
self.msms[lagt] = MSM(self.data, self.keys, lagt)
self.msms[lagt].do_count(sliding=sliding)
self.msms[lagt].do_trans()
nkeysl = len(self.msms[lagt].keys)

# propagate transition matrix
lagtimes_exp = np.logspace(np.log10(lagt), np.log10(np.max(lagtimes)*10), num=50)
Expand Down Expand Up @@ -691,7 +688,6 @@ def boots(self, nboots=100, nproc=None, sliding=True):
pool.join()
tauT_boots = [x[0] for x in result]
peqT_boots = [x[1] for x in result]
trans_boots = [x[2] for x in result]
keep_keys_boots = [x[3] for x in result]

self.peq_ave, self.peq_std = msm_lib.peq_averages(peqT_boots, keep_keys_boots, self.keys)
Expand Down Expand Up @@ -1064,7 +1060,6 @@ def propagateK(self, p0=None, init=None, time=None):
time = 10**logt
except:
time = np.array(time)
ltime = len(time)
nkeep = len(self.keep_states)
if p0 is not None:
try:
Expand Down

0 comments on commit 8d08649

Please sign in to comment.