Skip to content

Commit

Permalink
Fix references to system.top
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ws-m committed Aug 29, 2023
1 parent f53054f commit 68bef44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/sphinx/source/init.txt
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ Hydration free energy
Reopen the python session and set up a :class:`~mdpow.fep.Ghyd` object::

import mdpow.fep
gwat = mdpow.fep.Ghyd(molecule="OcOH", top="Equilibrium/water/top/system.top", struct="Equilibrium/water/MD_NPT/md.pdb", ndx="Equilibrium/water/solvation/main.ndx", runtime=100)
gwat = mdpow.fep.Ghyd(molecule="OcOH", top="Equilibrium/water/top/system.top.template", struct="Equilibrium/water/MD_NPT/md.pdb", ndx="Equilibrium/water/solvation/main.ndx", runtime=100)

Alternatively, one can save some typing if we continue the last session and use
the :class:`mdpow.equil.Simulation` object (which we can re-load from its saved
Expand Down
10 changes: 5 additions & 5 deletions mdpow/forcefields.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,11 +447,11 @@ def get_top_template(identifier):
"""Return the topology file template suitable for the solvent model."""

templates = {
"water": "system.top",
"octanol": "system.top",
"cyclohexane": "system.top",
"wetoctanol": "system_octwet.top",
"toluene": "system.top",
"water": "system.top.template",
"octanol": "system.top.template",
"cyclohexane": "system.top.template",
"wetoctanol": "system_octwet.top.template",
"toluene": "system.top.template",
}
try:
return templates[identifier]
Expand Down

0 comments on commit 68bef44

Please sign in to comment.