Skip to content

Commit

Permalink
Use CPU platform for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Nov 2, 2023
1 parent fdfe486 commit 9381e63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/runner/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def test_dynamics_options():
mols = sr.load(sr.expand(sr.tutorial_url, "merged_molecule.s3"))

# Instantiate a runner using the default config.
runner = Runner(mols, Config())
# (All default options, other than platform="cpu".)
runner = Runner(mols, Config(platform="cpu"))

# Initalise a fake simulation.
runner._initialise_simulation(runner._system.clone(), 0.0)
Expand Down

0 comments on commit 9381e63

Please sign in to comment.