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

Update pdbfile.py

Added catch for zinc.
parent c7a61558
...@@ -116,6 +116,8 @@ class PDBFile(object): ...@@ -116,6 +116,8 @@ class PDBFile(object):
element = elem.lithium element = elem.lithium
elif upper.startswith('K'): elif upper.startswith('K'):
element = elem.potassium element = elem.potassium
elif upper.startswith('ZN'):
element = elem.zinc
elif( len( residue ) == 1 and upper.startswith('CA') ): elif( len( residue ) == 1 and upper.startswith('CA') ):
element = elem.calcium element = elem.calcium
else: 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