Skip to content

Commit

Permalink
Merge pull request #195 from stefdoerr/fix_added_atom_elements
Browse files Browse the repository at this point in the history
Fix elements of created atoms
  • Loading branch information
Darren Curtis authored Jun 9, 2021
2 parents 5f809c4 + f605087 commit 9b71590
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pdb2pqr/aa.py
Original file line number Diff line number Diff line change
Expand Up @@ -945,6 +945,7 @@ def create_atom(self, atomname, newcoords):
newatom.y = newcoords[1]
newatom.z = newcoords[2]
newatom.name = atomname
newatom.element = atomname[0]
newatom.occupancy = 1.00
newatom.temp_factor = 0.00
newatom.added = 1
Expand Down Expand Up @@ -1030,6 +1031,7 @@ def create_atom(self, atomname, newcoords):
newatom.y = newcoords[1]
newatom.z = newcoords[2]
newatom.name = atomname
newatom.element = atomname[0]
newatom.occupancy = 1.00
newatom.temp_factor = 0.00
newatom.added = 1
Expand Down

0 comments on commit 9b71590

Please sign in to comment.