Skip to content

Commit 59ca08a

Browse files
committed
renaming generator to wfgen
1 parent 047f951 commit 59ca08a

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
python-version: ${{ matrix.python-version }}
2020
- name: Install dependencies
2121
run: |
22-
sudo apt-get install -y graphviz-dev
22+
sudo apt-get install -y graphviz-dev python3-sphinx
2323
- name: Check package install
2424
run: |
2525
pip install .

docs/source/generating_workflows.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ os 300 tasks, builds a synthetic workflow instance, and writes the
8787
synthetic 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
9898
workflow 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
114114
workflow 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
125125
instance, 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

Comments
 (0)