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 7, 2024
1 parent 37b09d5 commit f7ceda4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions combine_data_NAMD_GOMC.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# combines the data from the MD/MC simulations (NAMD/GOMC) for the NPT, NVT, GEMC, and GCMC ensembles
# or just combines the log files for the NAMD-only or GOMC-only simulations.


# *************************************************
# The python arguments that need to be selected to run the simulations (start)
# *************************************************
Expand Down Expand Up @@ -949,9 +950,7 @@ def get_gomc_log_data(
)
if stat_titles_box_x_iteration[z] == "TOT_DENSITY":
e_stat_values_gomc_kcal_per_mol_box_x_iteration_list.append(
str(
float(stat_values_box_x_iteration_list[z]) / 10**3
)
str(float(stat_values_box_x_iteration_list[z]) / 10**3)
)
else:
e_stat_values_gomc_kcal_per_mol_box_x_iteration_list.append(
Expand Down Expand Up @@ -1000,10 +999,14 @@ def get_gomc_log_data(
str(e_titles_kcal_per_mol_stat_titles_gomc_box_x_iter_list[0][0])
!= "#"
):
e_titles_kcal_per_mol_stat_titles_gomc_box_x_iter_list[
0
] = "#{}".format(
str(e_titles_kcal_per_mol_stat_titles_gomc_box_x_iter_list[0])
e_titles_kcal_per_mol_stat_titles_gomc_box_x_iter_list[0] = (
"#{}".format(
str(
e_titles_kcal_per_mol_stat_titles_gomc_box_x_iter_list[
0
]
)
)
)

try:
Expand Down

0 comments on commit f7ceda4

Please sign in to comment.