Skip to content

Commit

Permalink
Fix post_cosmo
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaehn committed Jan 18, 2024
1 parent 4e79263 commit 58727f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/post_cosmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def main(cfg):
# Wait for Cosmo to finish first
tools.check_job_completion(cfg.log_finished_dir, "cosmo")

os.makedirs(cfg.cosmo_run)
os.makedirs(cfg.cosmo_run, exist_ok=True)
script = (cfg.cosmo_run / 'run_post_cosmo.job')
with open(script, "w") as outf:
outf.write(runscript_content)
Expand Down

0 comments on commit 58727f4

Please sign in to comment.