Skip to content

Commit

Permalink
Fix bar ParameterError
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclark5 committed Sep 19, 2024
1 parent 495792a commit 232d127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymbar/other_estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def bar(
DeltaF_initial = DeltaF

if method not in ["self-consistent-iteration", "false-position", "bisection"]:
raise ParameterError("method {:d} is not defined for bar".format(method))
raise ParameterError("method {} is not defined for bar".format(method))

if uncertainty_method not in ["BAR", "MBAR"]:
raise ParameterError(
Expand Down

0 comments on commit 232d127

Please sign in to comment.