Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set PyMBAR solver to "robust" and use PyMBAR4 #871

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies:
- tqdm
- pygraphviz
# Issue #443
- pymbar<4.0
- pymbar>=4.0
# docs
- autodoc-pydantic<2.0
- pydata-sphinx-theme
Expand Down
4 changes: 3 additions & 1 deletion openfe/protocols/openmm_utils/multistate_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ class MultistateEquilFEAnalysis:
def __init__(self, reporter: multistate.MultiStateReporter,
sampling_method: str, result_units: unit.Quantity,
forward_reverse_samples: int = 10):
self.analyzer = multistate.MultiStateSamplerAnalyzer(reporter)
self.analyzer = multistate.MultiStateSamplerAnalyzer(
reporter,
analysis_kwargs={"solver_protocol": "robust"})
self.units = result_units

if sampling_method.lower() not in ['repex', 'sams', 'independent']:
Expand Down
Loading