Skip to content

Commit f1f970e

Browse files
committed
Fix config path
1 parent 65b791e commit f1f970e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

benchmarks/rotating-cylinders/dumux/run_benchmark.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
zip_path = root_dir.parent / "rotating-cylinders.zip"
1111
benchmark_dir = root_dir / "rotating-cylinders"
1212
snakefile_path = root_dir / "Snakefile"
13+
reporter_config_path = root_dir / "metadata4ing.config"
1314

1415
# Extraction
1516
if zip_path.exists():
@@ -68,7 +69,7 @@
6869
"--singularity-args", f"--bind {benchmark_dir}:/dumux/shared",
6970
"--config", f'conf_name="{config_name}"',
7071
"--reporter", "metadata4ing",
71-
"--report-metadata4ing-config", "metadata4ing.config",
72+
"--report-metadata4ing-config", str(reporter_config_path),
7273
"--report-metadata4ing-filename", f"dumux_rocrate_{config_name}.zip",
7374
"--force"
7475
], check=True, cwd=output_dir)

benchmarks/rotating-cylinders/openfoam/run_benchmark.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
zip_path = root_dir.parent / "rotating-cylinders.zip"
1010
benchmark_dir = root_dir / "rotating-cylinders"
1111
snakefile_path = root_dir / "Snakefile"
12+
reporter_config_path = root_dir / "metadata4ing.config"
1213

1314
# Extraction
1415
if zip_path.exists():
@@ -74,7 +75,7 @@
7475
"--cores", "all",
7576
"--resources", "serial_run=1",
7677
"--reporter", "metadata4ing",
77-
"--report-metadata4ing-config", "metadata4ing.config",
78+
"--report-metadata4ing-config", str(reporter_config_path),
7879
"--report-metadata4ing-filename", f"openfoam_rocrate_{config_name}.zip",
7980
"--force"
8081
], check=True, cwd=output_dir)

0 commit comments

Comments
 (0)