Skip to content

Commit

Permalink
Fix definition of ligand COM. [ref #194]
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Mar 23, 2021
1 parent 2576fad commit 9c48467
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/BioSimSpace/Process/_plumed.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,8 @@ def createConfig(self, system, protocol, is_restart=False):
num_atoms = system._sire_object.molecule(molecule).nAtoms()

# Create the ligand record. Rember to one-index the atoms.
string += "lig: COM=%d-%d" % (idx+1, idx+num_atoms)
colvar_string = "lig: COM=%d-%d" % (idx+1, idx+num_atoms)
self._config.append(colvar_string)

# Create the center-of-mass record for the atoms that are used
# to define the funnel origin.
Expand Down

0 comments on commit 9c48467

Please sign in to comment.