Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julia Putko committed Mar 7, 2024
1 parent a5a03ae commit b1a1b39
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{%- endif %}
{%- if ensemble.batch_settings %}
Batch Launch: True
Batch Commands: {{ ensemble.batch_settings.batch_cmd }}
Batch Command: {{ ensemble.batch_settings.batch_cmd }}
{%- endif %}
{%- if ensemble.batch_settings.batch_args %}
Batch Arguments:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{%- endif %}
{%- if model.batch_settings %}
Batch Launch: True
Batch Commands: {{ model.batch_settings.batch_cmd }}
Batch Command: {{ model.batch_settings.batch_cmd }}
Batch Arguments:
{%- for key, value in model.batch_settings.batch_args.items() %}
{{ key }}: {{ value }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Executable: {{ config.database_exe }}
{%- if db.batch_settings %}
Batch Launch: True
Batch Commands: {{ db.batch_settings.batch_cmd }}
Batch Command: {{ db.batch_settings.batch_cmd }}
Batch Arguments:
{%- for key, value in db.batch_settings.batch_args.items() %}
{{ key }}: {{ value }}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ def test_preview_batch_ensemble(fileutils, test_dir, wlmutils):
output = previewrenderer.render(exp, preview_manifest, verbosity_level="debug")

assert "Batch Launch: True" in output
assert "Batch Commands" in output
assert "Batch Command" in output
assert "Batch Arguments" in output
assert "nodes" in output
assert "time" in output
Expand Down

0 comments on commit b1a1b39

Please sign in to comment.