Skip to content

Commit

Permalink
Merge pull request #209 from OpenBioSim/somd1_water_logging
Browse files Browse the repository at this point in the history
now printing to stdout the identify of the water molecules that are p…
  • Loading branch information
jmichel80 authored Jul 10, 2024
2 parents f23de21 + db0d862 commit 633590a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wrapper/Tools/OpenMMMD.py
Original file line number Diff line number Diff line change
Expand Up @@ -2505,6 +2505,7 @@ def selectWatersForPerturbation(system, charge_diff):
# FIXME: select waters according to distance criterion
# if mol.residue().name() == water_resname and cnt < nions:
if mol.residues()[0].name() == water_resname and cnt < nions:
print ("Selected water residue %s for perturbation into ion" % (mol.residues()[0]))
cnt += 1

perturbed_water = mol.edit()
Expand Down

0 comments on commit 633590a

Please sign in to comment.