Skip to content

Commit

Permalink
Fix issue of only updating args from matrix variable
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmundGoodman committed Feb 20, 2024
1 parent bf9e07b commit a37f7a6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/hpc_multibench/yaml_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,10 @@ def realise(

# Fix this to work for more things than args...
for key, value in variables.items():
if key == "args":
run.args = value
# TODO: Error checking on keys
setattr(run, key, value)
# if key == "args":
# run.args = value

return run

Expand Down Expand Up @@ -209,6 +211,7 @@ def run(self) -> None:
for bench_name, bench in self.benches.items():
for run in bench.get_runs(bench_name, self.run_configurations):
print(run)
# Run the configurations with `run.run()`

def analyse(self) -> None:
"""."""
Expand Down

0 comments on commit a37f7a6

Please sign in to comment.