Skip to content

Commit

Permalink
Merge branch 'config_yaml' of github.com:C2SM/processing-chain into c…
Browse files Browse the repository at this point in the history
…onfig_yaml
  • Loading branch information
mjaehn committed Sep 21, 2023
2 parents fc253e0 + 08f17e8 commit 7047ce7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jobs/int2lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def main(starttime, hstart, hstop, cfg, model_cfg):
tools.create_dir(cfg.int2lm['work'], "int2lm_work")
tools.create_dir(cfg.int2lm['output'], "int2lm_output")

tools.copy_file(cfg.int2lm['bin'], os.path.join(cfg.int2lm['work'], "int2lm"))
tools.copy_file(cfg.int2lm['bin'],
os.path.join(cfg.int2lm['work'], "int2lm"))

# Copy extpar file to input/extpar directory
extpar_dir = os.path.join(cfg.int2lm['input'], "extpar")
Expand Down Expand Up @@ -140,4 +141,3 @@ def main(starttime, hstart, hstop, cfg, model_cfg):
exitcode = result.returncode
if exitcode != 0:
raise RuntimeError("sbatch returned exitcode {}".format(exitcode))

1 change: 0 additions & 1 deletion run_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,4 +696,3 @@ def load_model_config_yaml(yamlfile):
force=args.force)

print('>>> finished chain for good or bad! <<<')

0 comments on commit 7047ce7

Please sign in to comment.