diff --git a/source/triangulation/xyzrn.py b/source/triangulation/xyzrn.py index b6d6660a..8f742b25 100644 --- a/source/triangulation/xyzrn.py +++ b/source/triangulation/xyzrn.py @@ -25,7 +25,7 @@ def output_pdb_as_xyzrn(pdbfilename, xyzrnfilename): resname = residue.get_resname() reskey = residue.get_id()[1] chain = residue.get_parent().get_id() - atomtype = name[0] + atomtype = atom.element color = "Green" coords = None