You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have compiled alchemical_analysis/pymbar with python_2.7.9 and I could not export the overlap matrix within MBAR procedure, though MBAR free energy estimation worked well.
I got this error:
O = MBAR.computeOverlap()[2]
KeyError: 2
This issue can be easily fixed by editing the alchemical_analysis.py code.
Find this block in the code:
O = MBAR.computeOverlap()[2]
change the line to this:
O = MBAR.computeOverlap()['matrix']
I hope it helps,
RD
The text was updated successfully, but these errors were encountered:
Hi All,
I have compiled alchemical_analysis/pymbar with python_2.7.9 and I could not export the overlap matrix within MBAR procedure, though MBAR free energy estimation worked well.
I got this error:
O = MBAR.computeOverlap()[2]
KeyError: 2
This issue can be easily fixed by editing the alchemical_analysis.py code.
O = MBAR.computeOverlap()[2]
O = MBAR.computeOverlap()['matrix']
I hope it helps,
RD
The text was updated successfully, but these errors were encountered: