Commit 3535e091 by Grinaway

tried changing syntax to with:

parent f514af82
...@@ -100,8 +100,7 @@ def test_build_and_simulate(): ...@@ -100,8 +100,7 @@ def test_build_and_simulate():
from eventlet.timeout import Timeout from eventlet.timeout import Timeout
timeout_seconds = 30.0 timeout_seconds = 30.0
timeout = Timeout(timeout_seconds) with Timeout(timeout_seconds) as timeout:
try:
from pdbfixer.pdbfixer import PDBFixer, PdbStructure from pdbfixer.pdbfixer import PDBFixer, PdbStructure
from simtk.openmm import app from simtk.openmm import app
stage = "Creating PDBFixer..." stage = "Creating PDBFixer..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment