Skip to content

Commit 0a34192

Browse files
committed
Added back the use of pyemma
1 parent 18f6f7c commit 0a34192

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ argparse
99
alchemlyb==2.0.0
1010
seaborn
1111
matplotlib
12-
# pyemma
12+
pyemma
1313
pymbar==4.0.1
1414

ensemble_md/cli/analyze_EEXE.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import sys
1212
import time
1313
import glob
14-
# import pyemma
14+
import pyemma
1515
import pymbar
1616
import pickle
1717
import natsort
@@ -21,13 +21,13 @@
2121
import matplotlib.pyplot as plt
2222
from matplotlib import rc
2323
from datetime import datetime
24-
# from deeptime.markov.tools.analysis import is_transition_matrix
24+
from deeptime.markov.tools.analysis import is_transition_matrix
2525
warnings.simplefilter(action='ignore', category=UserWarning)
2626

2727
from ensemble_md.utils import utils # noqa: E402
2828
from ensemble_md.analysis import analyze_traj # noqa: E402
2929
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
3131
from ensemble_md.analysis import analyze_free_energy # noqa: E402
3232
from ensemble_md.ensemble_EXE import EnsembleEXE # noqa: E402
3333
from ensemble_md.utils.exceptions import ParameterError # noqa: E402
@@ -219,7 +219,6 @@ def main():
219219
if np.sum(np.isnan([np.mean(i) for i in t_list])) != 0:
220220
poor_sampling = True
221221

222-
"""
223222
if EEXE.msm is True:
224223
section_idx += 1
225224

@@ -339,7 +338,6 @@ def main():
339338
# 3-8. Calculate the state index correlation time for each trajectory
340339
print('\n3-8. Plotting the state index correlation times for all trajectories ...')
341340
msm_analysis.plot_acf(models, EEXE.n_tot, f'{args.dir}/state_ACF.png')
342-
"""
343341

344342
# Section 4 (or Section 3). Free energy calculations
345343
if EEXE.free_energy is True:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
'pyyaml',
9393
'seaborn',
9494
'matplotlib',
95-
# 'pyemma',
95+
'pyemma',
9696
'mpi4py'
9797
],
9898

0 commit comments

Comments
 (0)