Commit a6524f94 authored by peastman's avatar peastman
Browse files

Merge pull request #311 from cxhernandez/master

Forgotten zinc
parents c7a61558 baa7a8f6
......@@ -119,6 +119,8 @@ class AmberPrmtopFile(object):
element = elem.sodium
elif upper.startswith('MG'):
element = elem.magnesium
elif upper.startswith('ZN'):
element = elem.zinc
else:
try:
element = elem.get_by_symbol(atomName[0])
......
......@@ -116,6 +116,8 @@ class PDBFile(object):
element = elem.lithium
elif upper.startswith('K'):
element = elem.potassium
elif upper.startswith('ZN'):
element = elem.zinc
elif( len( residue ) == 1 and upper.startswith('CA') ):
element = elem.calcium
else:
......
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