Skip to content

Commit 2d17982

Browse files
authored
Merge pull request #41 from andersonandrei/docs
Fix the example to use the 'create_benchmark_from_synthetic_workflow' method and update code snippets' format in the Generating Workflow Benchmarks
2 parents 5359728 + f0171d0 commit 2d17982

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/source/generating_workflow_benchmarks.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ generating workflow benchmarks with an arbitrary number of tasks::
2828

2929
# create a workflow benchmark object to generate specifications based on a recipe
3030
benchmark = WorkflowBenchmark(recipe=BlastRecipe, num_tasks=500)
31+
3132
# generate a specification based on performance characteristics
3233
path = benchmark.create_benchmark(pathlib.Path("/tmp/"), cpu_work=100, data=10, percent_cpu=0.6)
3334

@@ -52,7 +53,7 @@ Generate from synthetic workflow instances
5253
++++++++++++++++++++++++++++++++++++++++++
5354

5455
WfCommons also allows you to convert synthetic workflow instances into benchmarks directly.
55-
The generated benchmark will have exactly the same structure as the synthetic workflow instance.
56+
The generated benchmark will have exactly the same structure as the synthetic workflow instance::
5657

5758
import pathlib
5859

@@ -93,7 +94,7 @@ Nextflow
9394
the development of portable and reproducible workflows. It supports deploying workflows
9495
on a variety of execution platforms including local, HPC schedulers, and cloud-based
9596
and container-based environments. Below, we provide an example on how to generate
96-
workflow benchmark for running with Nextflow:
97+
workflow benchmark for running with Nextflow::
9798

9899
import pathlib
99100

0 commit comments

Comments
 (0)