Skip to content

Commit

Permalink
Merge pull request #209 from OpenBioSim/fix_backport_typo
Browse files Browse the repository at this point in the history
Fix a typo introduced in PR #198
  • Loading branch information
lohedges authored Nov 21, 2023
2 parents 2aa01d3 + 89be7f7 commit f27817e
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 f27817e

Please sign in to comment.