ag-csw / LDStreamHMMLearn

1 stars 0 forks source link

Import Error in util/bayesian_qmm.py #13

Open alexlafleur opened 7 years ago

alexlafleur commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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.