@@ -87,7 +87,7 @@ os 300 tasks, builds a synthetic workflow instance, and writes the
8787synthetic instance to a JSON file. ::
8888
8989 from wfcommons.wfchef.recipes import SeismologyRecipe
90- from wfcommons.wfgen import WorkflowGenerator
90+ from wfcommons import WorkflowGenerator
9191
9292 generator = WorkflowGenerator(SeismologyRecipe.from_num_tasks(250))
9393 workflow = generator.build_workflow()
@@ -98,7 +98,7 @@ The example below generates a number of 10 *Blast* synthetic
9898workflow instances for every size defined in the array :code: `num_tasks `: ::
9999
100100 from wfcommons.wfchef.recipes import BlastRecipe
101- from wfcommons.wfgen import WorkflowGenerator
101+ from wfcommons import WorkflowGenerator
102102
103103 num_tasks = [100, 250, 370, 800]
104104
@@ -114,7 +114,7 @@ based on the number of tasks entered by the user (1000), builds the synthetic
114114workflow instances, and writes the synthetic instances to JSON files. ::
115115
116116 from wfcommons.wfchef.recipes import EpigenomicsRecipe
117- from wfcommons.wfgen import WorkflowGenerator
117+ from wfcommons import WorkflowGenerator
118118
119119 generator = WorkflowGenerator(EpigenomicsRecipe.from_num_tasks(1000))
120120 for i, workflow in enumerate(generator.build_workflows(10)):
@@ -125,7 +125,7 @@ based on the number of tasks entered by the user (250), builds the synthetic wor
125125instance, and writes the synthetic instance to a JSON file. ::
126126
127127 from wfcommons.wfchef.recipes import CyclesRecipe
128- from wfcommons.wfgen import WorkflowGenerator
128+ from wfcommons import WorkflowGenerator
129129
130130 generator = WorkflowGenerator(CyclesRecipe.from_num_tasks(250))
131131 workflow = generator.build_workflow()
0 commit comments