Skip to content

Commit

Permalink
Add perses back in for testing, pin gufe, and fix bootstrap tests (#1108
Browse files Browse the repository at this point in the history
)

* Add perses back in for testing

* Update environment.yml

* bump up rtol for bootstrap tests

---------

Co-authored-by: Irfan Alibay <[email protected]>
  • Loading branch information
mikemhenry and IAlibay authored Jan 31, 2025
1 parent 18e6469 commit cb7d8d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies:
- openmm >=8.0.0,!=8.1.0,<8.2.0
- openmmtools
- openmmforcefields
# - perses>=0.10.3
- perses>=0.10.3
- pooch
- py3dmol
- plugcli
Expand All @@ -47,4 +47,4 @@ dependencies:
- pip:
- sphinx-toolbox
- openff-nagl-models>=0.1.2
- git+https://github.com/OpenFreeEnergy/gufe@main
- git+https://github.com/OpenFreeEnergy/gufe@v1.2.0
4 changes: 2 additions & 2 deletions openfe/tests/protocols/test_openmmutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def test_free_energies(self, analyzer):
ret_dict['forward_and_reverse_energies']['forward_dDGs'].m,
np.array([0.077645, 0.054695, 0.044680, 0.03947, 0.034822,
0.033443, 0.030793, 0.028777, 0.026683, 0.026199]),
rtol=1e-01,
rtol=5e-01,
)
assert_allclose(
ret_dict['forward_and_reverse_energies']['reverse_DGs'].m,
Expand All @@ -288,7 +288,7 @@ def test_free_energies(self, analyzer):
ret_dict['forward_and_reverse_energies']['reverse_dDGs'].m,
np.array([0.088335, 0.059483, 0.046254, 0.041504, 0.03877,
0.035495, 0.031981, 0.029707, 0.027095, 0.026296]),
rtol=1e-01,
rtol=5e-01,
)

def test_plots(self, analyzer, tmpdir):
Expand Down

0 comments on commit cb7d8d5

Please sign in to comment.