Skip to content

Commit

Permalink
Fix a typo introduced in PR #198. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Nov 21, 2023
1 parent 2aa01d3 commit 89be7f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -639,11 +639,11 @@ def addMolecules(self, molecules):

# Search for perturbable molecules with a velocity property.
# Only consider the lambda = 0 end state.
has_pertrubable = False
has_perturbable = False
for mol in self.getPerturbableMolecules():
# Add perturbable velocities.
if mol._sire_object.hasProperty("velocity0"):
has_pertrubable = True
has_perturbable = True
num_vels += 1
# Remove non-perturbable velocities to avoid double counting.
elif mol._sire_object.hasProperty("velocity"):
Expand Down

0 comments on commit 89be7f7

Please sign in to comment.