Skip to content

Commit

Permalink
parallel: delete runtpe files at end of simulation run, so that they …
Browse files Browse the repository at this point in the history
…are not copied back
  • Loading branch information
Arun Persaud committed Aug 29, 2023
1 parent ff079a6 commit aa0f3a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mcnptools/cli/run_single.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ def main():
else:
subprocess.run(command_to_run, cwd=SIM_DIR, shell=True)

(SIM_DIR / "runtpe").unlink(missing_ok=True)


if __name__ == "__main__":
main()

0 comments on commit aa0f3a2

Please sign in to comment.