Skip to content

Commit

Permalink
Adds test for positional restraints on perturbed molecules
Browse files Browse the repository at this point in the history
  • Loading branch information
mb2055 committed Sep 27, 2024
1 parent 0a7fe8d commit b8c23a3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/convert/test_openmm_restraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
"openmm" not in sr.convert.supported_formats(),
reason="openmm support is not available",
)
def test_openmm_positional_restraints(kigaki_mols, openmm_platform):
mols = kigaki_mols
@pytest.mark.parametrize("molecules", ["kigaki_mols", "merged_ethane_methanol"])
def test_openmm_positional_restraints(molecules, openmm_platform, request):
mols = request.getfixturevalue(molecules)

if mols[0].is_perturbable():
mols = sr.morph.link_to_reference(mols)

mol = mols[0]

Expand Down

0 comments on commit b8c23a3

Please sign in to comment.