Commit 1be1654f authored by Mohamad Mohebifar's avatar Mohamad Mohebifar Committed by GitHub
Browse files

Fix a typo that was preventing an error from being raised

parent 93742ae3
...@@ -4033,7 +4033,7 @@ class AmoebaTorsionTorsionGenerator(object): ...@@ -4033,7 +4033,7 @@ class AmoebaTorsionTorsionGenerator(object):
# raise error if atoms E or F not found # raise error if atoms E or F not found
if (atomE == -1 or atomF == -1): if (atomE == -1 or atomF == -1):
outputString = "getChiralAtomIndex: error getting bonded partners of atomC=%s %d %s" % (atomC.name, atomC.resiude.index, atomC.resiude.name,) outputString = "getChiralAtomIndex: error getting bonded partners of atomC=%s %d %s" % (atomC.name, atomC.residue.index, atomC.residue.name,)
raise ValueError(outputString) raise ValueError(outputString)
# check for different type/mass between atoms E & F # check for different type/mass between atoms E & F
......
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