Skip to content

Commit

Permalink
fix version check
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemhenry committed Sep 26, 2024
1 parent 50b058f commit 41ce632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmmtools/multistate/multistateanalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def __init__(self, reporter, name=None, reference_states=(0, -1),

# If we are using pymbar 4, change the default behavior to use the robust solver protocol if the user
# didn't set a kwarg to control the solver protocol
if Version(pymbar.version.short_version) >= Version("4") and "solver_protocol" not in self._user_extra_analysis_kwargs:
if Version(pymbar.__version__) >= Version("4") and "solver_protocol" not in self._user_extra_analysis_kwargs:
self._user_extra_analysis_kwargs["solver_protocol"] = "robust"

# Initialize cached values that are read or derived from the Reporter.
Expand Down

0 comments on commit 41ce632

Please sign in to comment.