Skip to content

Commit

Permalink
Update perturbed residue search following Sire 2023 update.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Oct 10, 2022
1 parent 7470bd7 commit 71418f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrapper/Tools/OpenMMMD.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,10 @@ def getSolute(system):
# matching the perturbed_resnum.val.

# Create the query string.
query = f"mol with resnum {perturbed_resnum.val}"
query = f"resnum {perturbed_resnum.val}"

# Perform the search.
search = system.search(query)
search = system.search(query).molecules()

# Make sure there is only one result.
if len(search) != 1:
Expand Down

0 comments on commit 71418f4

Please sign in to comment.