Unverified Commit 3e8a62ba authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Fixed bug in selecting HIS variant (#5221)

parent a1579238
...@@ -948,7 +948,7 @@ class Modeller(object): ...@@ -948,7 +948,7 @@ class Modeller(object):
if acceptor.residue != residue: if acceptor.residue != residue:
acceptorPos = self.positions[acceptor.index] acceptorPos = self.positions[acceptor.index]
if isHbond(ne2Pos, he2Pos, acceptorPos): if isHbond(ne2Pos, he2Pos, acceptorPos):
nd1IsBonded = True ne2IsBonded = True
break break
if ne2IsBonded and not nd1IsBonded: if ne2IsBonded and not nd1IsBonded:
variant = 'HIE' variant = 'HIE'
......
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