Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
3e8a62ba
Unverified
Commit
3e8a62ba
authored
Feb 26, 2026
by
Peter Eastman
Committed by
GitHub
Feb 26, 2026
Browse files
Fixed bug in selecting HIS variant (#5221)
parent
a1579238
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wrappers/python/openmm/app/modeller.py
wrappers/python/openmm/app/modeller.py
+1
-1
No files found.
wrappers/python/openmm/app/modeller.py
View file @
3e8a62ba
...
@@ -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
):
n
d1
IsBonded
=
True
n
e2
IsBonded
=
True
break
break
if
ne2IsBonded
and
not
nd1IsBonded
:
if
ne2IsBonded
and
not
nd1IsBonded
:
variant
=
'HIE'
variant
=
'HIE'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment