Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Error in util/bayesian_qmm.py #13

Open
alexlafleur opened this issue Oct 11, 2016 · 2 comments
Open

Import Error in util/bayesian_qmm.py #13

alexlafleur opened this issue Oct 11, 2016 · 2 comments
Assignees

Comments

@alexlafleur
Copy link
Collaborator

WhiIe renaming vaariables, I found an error in this line
from pyemma.msm.estimators.maximum_likelihood_msm import _msm import MSM as _MSM (line 7)
PyCharms displays: "Unresolved reference '_msm'" and "No module named MSM"
Can you check whether the import statement is correct? Or do I need to perform anything with the pyemma-dev version?

@greenTara
Copy link
Collaborator

It looks like this script was copied from somewhere with the intention to use that as a template, but the modification was never completed. Are there any usages of this class? How about of the related class Bayesian_QHMM?

@alexlafleur
Copy link
Collaborator Author

It seems as if this class is not used..
I adapted the import statement to from pyemma.msm.estimators import MaximumLikelihoodMSM as _MSM and removed the argument selfwithin the call _MSM._estimate(dtrajs[:, 0:nburnin])

The syntax errors are gone, but I will need to test that the code does what it intendeds to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants