Skip to content

Commit

Permalink
Minor bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wehs7661 committed May 16, 2024
1 parent ab2006c commit 462381c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ensemble_md/cli/run_REXEE.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ def main():
# Note we use states (copy of states_) instead of states_ in update_MDP.
for j in list(range(REXEE.n_sim)):
os.mkdir(f'{REXEE.working_dir}/sim_{j}/iteration_{i}')
if self.fixed_weights is True:
counts = None # So that this should work also for GROMACS version < 2022.5
MDP = REXEE.update_MDP(f"sim_{j}/iteration_{i - 1}/expanded.mdp", j, i, states, wl_delta, weights, counts) # modify with a new template # noqa: E501
MDP.write(f"{REXEE.working_dir}/sim_{j}/iteration_{i}/expanded.mdp", skipempty=True)
# In run_REXEE(i, swap_pattern), where the tpr files will be generated, we use the top file at the
Expand Down

0 comments on commit 462381c

Please sign in to comment.