Skip to content

Commit

Permalink
fix reported issue with cktest
Browse files Browse the repository at this point in the history
  • Loading branch information
stefdoerr committed Dec 11, 2024
1 parent 0ae7e04 commit 14c8673
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions htmd/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1128,12 +1128,9 @@ def cktest(
for lag in lags:
models.append(self._get_model(statelist, lag, bayesian_samples=errors))

ck_test = self.msm.ck_test(models, n_metastable_sets=self.macronum)
plot_ck_test(ck_test, legend=True)
res = models[0].ck_test(models, n_metastable_sets=self.macronum)
plot_ck_test(res, legend=True)

# msm = deepcopy(self.msm)
# ck = msm.cktest(self.macronum, n_jobs=njobs)
# fig, axes = plot_cktest(ck)
if save is not None:
plt.savefig(save, dpi=300, bbox_inches="tight", pad_inches=0.2)
if plot:
Expand Down

0 comments on commit 14c8673

Please sign in to comment.