Skip to content

Commit

Permalink
re-enabling failing Openmm8 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ijpulidos committed Sep 28, 2023
1 parent e4dfbed commit 6e78834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions perses/tests/test_relative.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ def run_RESTCapableHybridTopologyFactory_energies(test_name, phase, use_point_en
else:
for endstate in [0, 1]:
validate_endstate_energies_md(htf, endstate=endstate, n_steps=10, save_freq=1)
@pytest.mark.skipif(os.getenv("OPENMM", default="7.7").upper() in ["8.0", "DEV"], reason="FastMath is BadMath")

def test_RESTCapableHybridTopologyFactory_energies():
"""
Uses run_RESTCapableHybridTopologyFactory_energies() to run energy validation for RESTCapableHybridTopologyFactory
Expand Down Expand Up @@ -1188,7 +1188,7 @@ def concatenate_files(input_files, output_file):
if use_md_energies:
validate_unsampled_endstates_md(htf, unsampled_endstates[endstate].system, endstate, n_steps=10, save_freq=1)

@pytest.mark.skipif(os.getenv("OPENMM", default="7.7").upper() in ["8.0", "DEV"], reason="FastMath is BadMath")

def test_unsampled_endstate_energies():
"""
Uses run_unsampled_endstate_energies() to run energy validation for the unsampled endstates generated for
Expand Down
2 changes: 1 addition & 1 deletion perses/tests/test_relative_point_mutation_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_PointMutationExecutor():
assert len(solvent_atoms.intersection(htf._atom_classes['core_atoms'])) != 0, "There are no water atoms in the core atom " \
"class, which may mean that the counterion was not introduced"

@pytest.mark.skipif(os.getenv("OPENMM", default="7.7").upper() in ["8.0", "DEV"], reason="FastMath is BadMath")

def test_PointMutationExecutor_endstate_validation():
"""
Check that HybridTopologyFactory, RepartitionedHybridTopologyFactory, and RESTCapableHybridTopologyFactory objects
Expand Down

0 comments on commit 6e78834

Please sign in to comment.