Skip to content

Commit

Permalink
Merge pull request #121 from cbc-univie/adjustment_to_pymbar4
Browse files Browse the repository at this point in the history
Update analysis.py
  • Loading branch information
JohannesKarwou authored Jan 11, 2024
2 parents e17dd71 + dfdf3ea commit beba53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transformato/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ def free_energy_differences(self, env="vacuum"):
def free_energy_overlap(self, env="vacuum"):
"""overlap of lambda states"""
try:
r = self.mbar_results[env].computeOverlap(return_dict=True)["matrix"]
r = self.mbar_results[env].compute_overlap()["matrix"]
except KeyError:
raise KeyError(f"Free energy overlap not obtained for : {env}")

Expand Down

0 comments on commit beba53a

Please sign in to comment.