示例#1
0
 def _run_fep(self, solvent, dirname):
     cfg = get_configuration('runinput.yml')
     if gromacs.release.startswith('4'):
         # For GROMACS 4.6.5 explicitly enable the group neighbor
         # scheme by creating a copy of the MDP file in the current
         # directory with MDP cutoff-scheme option changed. The local
         # MDP file will be picked up in preference to the default one
         # in the templates.
         fep_mdp_name = cfg.get("FEP", "mdp")
         mdp = mdpow.config.get_template(fep_mdp_name)
         gromacs.cbook.edit_mdp(mdp,
                                new_mdp=os.path.join(
                                    os.getcwd(), fep_mdp_name),
                                cutoff_scheme="group")
     self.S = fep_simulation(cfg, solvent, dirname=dirname)
示例#2
0
 def _run_equil(self, solvent, dirname):
     cfg = get_configuration('runinput.yml')
     self.S = equilibrium_simulation(cfg, solvent, dirname=dirname)
示例#3
0
 def _run_fep(self, solvent, dirname):
     cfg = get_configuration('runinput.yml')
     self.S = fep_simulation(cfg, solvent, dirname=dirname)
示例#4
0
 def cfg(self):
     return config.get_configuration(
         str(CONFIGURATIONS / 'altered_runinput.yml'))