|
11 | 11 | import sys |
12 | 12 | import time |
13 | 13 | import glob |
14 | | -# import pyemma |
| 14 | +import pyemma |
15 | 15 | import pymbar |
16 | 16 | import pickle |
17 | 17 | import natsort |
|
21 | 21 | import matplotlib.pyplot as plt |
22 | 22 | from matplotlib import rc |
23 | 23 | from datetime import datetime |
24 | | -# from deeptime.markov.tools.analysis import is_transition_matrix |
| 24 | +from deeptime.markov.tools.analysis import is_transition_matrix |
25 | 25 | warnings.simplefilter(action='ignore', category=UserWarning) |
26 | 26 |
|
27 | 27 | from ensemble_md.utils import utils # noqa: E402 |
28 | 28 | from ensemble_md.analysis import analyze_traj # noqa: E402 |
29 | 29 | from ensemble_md.analysis import analyze_matrix # noqa: E402 |
30 | | -# from ensemble_md.analysis import msm_analysis # noqa: E402 |
| 30 | +from ensemble_md.analysis import msm_analysis # noqa: E402 |
31 | 31 | from ensemble_md.analysis import analyze_free_energy # noqa: E402 |
32 | 32 | from ensemble_md.ensemble_EXE import EnsembleEXE # noqa: E402 |
33 | 33 | from ensemble_md.utils.exceptions import ParameterError # noqa: E402 |
@@ -219,7 +219,6 @@ def main(): |
219 | 219 | if np.sum(np.isnan([np.mean(i) for i in t_list])) != 0: |
220 | 220 | poor_sampling = True |
221 | 221 |
|
222 | | - """ |
223 | 222 | if EEXE.msm is True: |
224 | 223 | section_idx += 1 |
225 | 224 |
|
@@ -339,7 +338,6 @@ def main(): |
339 | 338 | # 3-8. Calculate the state index correlation time for each trajectory |
340 | 339 | print('\n3-8. Plotting the state index correlation times for all trajectories ...') |
341 | 340 | msm_analysis.plot_acf(models, EEXE.n_tot, f'{args.dir}/state_ACF.png') |
342 | | - """ |
343 | 341 |
|
344 | 342 | # Section 4 (or Section 3). Free energy calculations |
345 | 343 | if EEXE.free_energy is True: |
|
0 commit comments