Skip to content

Commit

Permalink
Update tests for upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwthompson committed May 7, 2024
1 parent 0554bc7 commit 284d665
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion yammbs/_tests/unit_tests/test_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_rmsd(self, allicin, conformers):
target=conformers[0],
)

assert last_first == first_last
assert last_first == pytest.approx(first_last)

def test_tfd(self, allicin, conformers):
# Passing the same conformers should return 0.0
Expand Down
3 changes: 3 additions & 0 deletions yammbs/_tests/unit_tests/test_forcefields.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ def test_smirnoff_basic(molecule):
assert system.getNumParticles() == molecule.n_atoms


@pytest.mark.skip(
reason="Needs live GAFF support in `openmmforcefields",
)
def test_gaff_basic(molecule):
system = _gaff(molecule, "gaff-2.11")

Expand Down

0 comments on commit 284d665

Please sign in to comment.