Skip to content

Commit 00d5d6d

Browse files
author
dtyagi
committed
fixed failing action process-artifacts
1 parent 9e861a7 commit 00d5d6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

benchmarks/linear-elastic-plate-with-hole/plot_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def plot_element_size_vs_stress(headers, table_data, output_file="element_size_v
145145

146146
if __name__ == "__main__":
147147
parser = argparse.ArgumentParser(description="Process JSON-LD artifacts and display simulation results.")
148-
parser.add_argument("--artifact_folder", type=str, help="Path to the folder containing unzipped artifacts")
148+
parser.add_argument("artifact_folder", type=str, help="Path to the folder containing unzipped artifacts")
149149
args = parser.parse_args()
150150

151151
graphs = load_graphs(args.artifact_folder)

docs/getting_started/run_benchmark.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ This guide provides step-by-step instructions for running a benchmark workflow,
8181
To generate a plot, run:
8282

8383
```bash
84-
python plot_metrics.py --artifact_folder ./snakemake_provenance
84+
python plot_metrics.py ./snakemake_provenance
8585
```
8686

87-
The command generates `element_size_vs_stress.pdf` file, that plots the maximum Von-Mises stress as reported by simulation tool(s) over the changing mesh element size.
87+
The script `plot_metrics.py` takes in as input the path to the directory that contains the provenance report and generates `element_size_vs_stress.pdf` file, that plots the maximum Von-Mises stress as reported by simulation tool(s) over the changing mesh element size.
8888

8989
## Nextflow workflow
9090

0 commit comments

Comments
 (0)