Skip to content

Commit

Permalink
Match all atom names starting with H. [closes #221]
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Dec 8, 2023
1 parent c46fd7c commit 122f9fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/BioSimSpace/Sandpit/Exscientia/Protocol/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def generateAmberConfig(self, extra_options=None, extra_lines=None):
]
restraint_mask = "@" + ",".join(restraint_atom_names)
elif restraint == "heavy":
restraint_mask = "!:WAT & !@H"
restraint_mask = "!:WAT & !@H="
elif restraint == "all":
restraint_mask = "!:WAT"

Expand Down
2 changes: 1 addition & 1 deletion python/BioSimSpace/_Config/_amber.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def createConfig(
]
restraint_mask = "@" + ",".join(restraint_atom_names)
elif restraint == "heavy":
restraint_mask = "!:WAT & !@H"
restraint_mask = "!:WAT & !@H="
elif restraint == "all":
restraint_mask = "!:WAT"

Expand Down

0 comments on commit 122f9fb

Please sign in to comment.