Skip to content

Commit

Permalink
Merge pull request #835 from choderalab/ions_in_nosolv
Browse files Browse the repository at this point in the history
Make Analysis only particles include ions
  • Loading branch information
Lnaden authored Nov 30, 2017
2 parents b6c1876 + 597181e commit 73aaadc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Yank/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ def create_alchemical_phase(self):
checkpoint_interval = self.options['checkpoint_interval']
# Get the solute atoms
if self.options['store_solute_trajectory']:
solute_atoms = self.topography.solute_atoms
# "Solute" is basically just not water. Includes all non-water atoms and ions
# Topography ensures the union of solute_atoms and ions_atoms is a null set
solute_atoms = self.topography.solute_atoms + self.topography.ions_atoms
if checkpoint_interval == 1:
logger.warning("WARNING! You have specified both a solute-only trajectory AND a checkpoint "
"interval of 1! You are about write the trajectory of the solute twice!\n"
Expand Down

0 comments on commit 73aaadc

Please sign in to comment.