Commit baa7a8f6 authored by Carlos Hernández's avatar Carlos Hernández
Browse files

Update amberprmtopfile.py

Added catch for zinc.
parent fde182c4
...@@ -119,6 +119,8 @@ class AmberPrmtopFile(object): ...@@ -119,6 +119,8 @@ class AmberPrmtopFile(object):
element = elem.sodium element = elem.sodium
elif upper.startswith('MG'): elif upper.startswith('MG'):
element = elem.magnesium element = elem.magnesium
elif upper.startswith('ZN'):
element = elem.zinc
else: else:
try: try:
element = elem.get_by_symbol(atomName[0]) element = elem.get_by_symbol(atomName[0])
......
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