"platforms/opencl/vscode:/vscode.git/clone" did not exist on "dd71284105181b3ec329b5084f2bf324de38d132"
Commit 1975b62f authored by Robert McGibbon's avatar Robert McGibbon
Browse files

Merge branch 'pdbbug'

parents a5e0c8e7 4ab13768
......@@ -287,11 +287,11 @@ class PDBFile(object):
else:
atomName = atom.name
coords = positions[posIndex]
line = "ATOM %5d %-4s %3s %s%4d %s%s%s 1.00 0.00" % (
line = "ATOM %5d %-4s %3s %s%4d %s%s%s 1.00 0.00 %-2s " % (
atomIndex%100000, atomName, resName, chainName,
(resIndex+1)%10000, _format_83(coords[0]),
_format_83(coords[1]), _format_83(coords[2]))
assert len(line) == 66, 'Fixed width overflow detected'
_format_83(coords[1]), _format_83(coords[2]), atom.element.symbol)
assert len(line) == 80, 'Fixed width overflow detected'
print >>file, line
posIndex += 1
atomIndex += 1
......
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