Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 1, 2024
1 parent d01ab9d commit 33de6fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions openfe_gromacs/protocols/gromacs_md/md_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,9 @@ def _execute(
output_dict["edr_em"] = shared_basepath / output_settings_em.edr_file
output_dict["log_em"] = shared_basepath / output_settings_em.log_file
output_dict["cpt_em"] = shared_basepath / output_settings_em.cpt_file
output_dict["grompp_mdp_em"] = shared_basepath / output_settings_em.grompp_mdp_file
output_dict["grompp_mdp_em"] = (
shared_basepath / output_settings_em.grompp_mdp_file
)

# ToDo: Should we disallow running MD without EM?
# Run NVT
Expand Down Expand Up @@ -962,7 +964,9 @@ def _execute(
output_dict["edr_nvt"] = shared_basepath / output_settings_nvt.edr_file
output_dict["log_nvt"] = shared_basepath / output_settings_nvt.log_file
output_dict["cpt_nvt"] = shared_basepath / output_settings_nvt.cpt_file
output_dict["grompp_mdp_nvt"] = shared_basepath / output_settings_nvt.grompp_mdp_file
output_dict["grompp_mdp_nvt"] = (
shared_basepath / output_settings_nvt.grompp_mdp_file
)

# Run NPT MD simulation
if sim_settings_npt.nsteps > 0:
Expand Down Expand Up @@ -1002,6 +1006,8 @@ def _execute(
output_dict["edr_npt"] = shared_basepath / output_settings_npt.edr_file
output_dict["log_npt"] = shared_basepath / output_settings_npt.log_file
output_dict["cpt_npt"] = shared_basepath / output_settings_npt.cpt_file
output_dict["grompp_mdp_nvt"] = shared_basepath / output_settings_nvt.grompp_mdp_file
output_dict["grompp_mdp_nvt"] = (
shared_basepath / output_settings_nvt.grompp_mdp_file
)

return output_dict
2 changes: 1 addition & 1 deletion openfe_gromacs/protocols/gromacs_md/md_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class OutputSettings(SettingsBaseModel):
"""
grompp_mdp_file: str = "mdout_em.mdp"
"""
Filename for the mdp file that gmx grompp outputs. This file contains
Filename for the mdp file that gmx grompp outputs. This file contains
comment lines, as well as the input that gmx grompp has read.
Default 'mdout_em.mdp'
"""
Expand Down

0 comments on commit 33de6fd

Please sign in to comment.