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] authored and CalCraven committed Oct 23, 2023
1 parent 8a10451 commit 65c4b18
Show file tree
Hide file tree
Showing 2 changed files with 140 additions and 94 deletions.
7 changes: 4 additions & 3 deletions mosdef_dihedral_fit/dihedral_fit/fit_dihedral_with_gomc.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,6 @@ def fit_dihedral_with_gomc(

print(f"charmm.combining_rule = {charmm.combining_rule}")


gomc_control.write_gomc_control_file(
charmm,
f"{gomc_runs_folder_name}/{control_file_name_str}",
Expand Down Expand Up @@ -2539,13 +2538,15 @@ def fit_dihedral_with_gomc(
opls_fit_data_k1_kcal_per_mol_list[opls_q],
opls_fit_data_k2_kcal_per_mol_list[opls_q],
opls_fit_data_k3_kcal_per_mol_list[opls_q],
opls_fit_data_k4_kcal_per_mol_list[opls_q]
opls_fit_data_k4_kcal_per_mol_list[opls_q],
]

# Add the modified k values for the simulation in their correct units,
# kcal/mol for LJ and K for Mie or Exp6
opls_k_constant_fitted_q_list_for_ff_modifications = [
u.unyt_quantity(ki, "kcal/mol").to_value(k_constant_units_str, equivalence="thermal")
u.unyt_quantity(ki, "kcal/mol").to_value(
k_constant_units_str, equivalence="thermal"
)
for ki in opls_k_constant_fitted_q_list_kcal_per_mol
]

Expand Down
Loading

0 comments on commit 65c4b18

Please sign in to comment.