Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclark5 committed Nov 13, 2024
1 parent 74b8341 commit eb2fa34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The rules for this file:
* 2.5.0

Enhancements
- Parallelise read and preprocess for ABFE workflow. (PR #371)
- Added matrices for entropy and enthalpy for MBAR (PR #406)
- Parallelise read and preprocess for ABFE workflow. (PR #371)


09/19/2024 orbeckst, jaclark5
Expand Down
3 changes: 3 additions & 0 deletions src/alchemlyb/estimators/mbar_.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ class MBAR(BaseEstimator, _EstimatorMixOut):
Handle initial estimate, initial_f_k, from bar in the instance
that not all lambda states represented as column headers are
represented in the indices of u_nk.
.. versionchanged:: 2.5.0
Added computation of enthalpy and entropy
"""
Expand Down Expand Up @@ -231,6 +232,8 @@ def fit(self, u_nk, compute_entropy_enthalpy=False):
self._d_delta_h_.attrs = u_nk.attrs
self._delta_s_.attrs = u_nk.attrs
self._d_delta_s_.attrs = u_nk.attrs
self._delta_s_.attrs["energy_unit"] = "k"
self._d_delta_s_.attrs["energy_unit"] = "k"

return self

Expand Down

0 comments on commit eb2fa34

Please sign in to comment.