From 192dd6b309bb96c00e1b152c452e8a8d22c9e525 Mon Sep 17 00:00:00 2001 From: Jack Maguire Date: Fri, 29 Mar 2024 09:27:27 +0100 Subject: [PATCH] Using atom.element instead of name[0] --- source/triangulation/xyzrn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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