"vscode:/vscode.git/clone" did not exist on "9687a0a3041d5fe173158dfd83c1ce3443e9066c"
Unverified Commit 82703dff authored by Christian Clauss's avatar Christian Clauss Committed by GitHub
Browse files

Fix typos discovered by codespell in Python files (#5173)

parent 07b738c5
......@@ -470,10 +470,10 @@ class TestAmberPrmtopFile(unittest.TestCase):
self.assertAlmostEqual(energy, expectedEnergy, delta=5e-4*abs(energy))
def testAmberCMAP(self):
"""Check that CMAP energy calcultion compared to AMber."""
"""Check that CMAP energy calculation compared to AMber."""
temperature = 50*kelvin
conversion = 4.184 # 4.184 kJ/mol
sander_CMAP_E = 8.2864 # CMAP energy calcluated by Amber, unit kcal/mol
sander_CMAP_E = 8.2864 # CMAP energy calculated by Amber, unit kcal/mol
prmtop = prmtop7 # systems/18protein.parm7
inpcrd = inpcrd7 # systems/18protein.rst7
......
......@@ -322,7 +322,7 @@ class TestForceField(unittest.TestCase):
# Specifying a non-default value should.
with self.assertRaises(ValueError):
self.forcefield1.createSystem(topology, drudeMass=0.5*amu)
# Specifying a nonexistant argument should raise an exception.
# Specifying a nonexistent argument should raise an exception.
with self.assertRaises(ValueError):
self.forcefield1.createSystem(topology, nonbndedCutoff=1.0*nanometer)
......
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