Skip to content

Commit

Permalink
Fix the --force restart.
Browse files Browse the repository at this point in the history
Resolves #141.
  • Loading branch information
mimischi committed Apr 10, 2019
1 parent 8813800 commit 07953b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdbenchmark/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def submit(directory, force_restart, yes):
for sim in bundles_to_start:
# Remove files generated by previous mdbenchmark run
if force_restart:
engine = detect_md_engine(sim["module"])
engine = detect_md_engine(sim.categories["module"])
cleanup_before_restart(engine=engine, sim=sim)
sim.categories["started"] = True
os.chdir(sim.abspath)
Expand Down

0 comments on commit 07953b9

Please # to comment.