Skip to content

Commit

Permalink
add cap hyrogens to head and tail monomers
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjonesBSU committed Aug 12, 2024
1 parent f07ae16 commit 74032c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mbuild/lib/recipes/polymer.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def build(self, n, sequence="A", add_hydrogens=True):
# Defaut to 1/2 H-C bond len
head_tail[i].update_separation(0.0547)
hydrogen["up"].update_separation(0.0547)
self.add(hydrogen)
head_tail[i].parent.add(hydrogen)
force_overlap(hydrogen, hydrogen["up"], head_tail[i])
head_tail[i] = None
else:
Expand Down

0 comments on commit 74032c9

Please sign in to comment.