Skip to content

Commit 5359728

Browse files
authored
Merge pull request #40 from andersonandrei/main
Fix an issue in the WorkflowBenchmark class, where create_benchmark() was not finding the workflow attribute of a WorkflowBenchmark to iterate over its tasks.
2 parents 893c3bc + 6c432ca commit 5359728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wfcommons/wfbench/bench.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def create_benchmark(self,
276276
f"{self.workflow.name.lower()}-{self.num_tasks}").with_suffix(".json")
277277

278278
cores, lock = self._creating_lock_files(lock_files_folder)
279-
for task in self.tasks.values():
279+
for task in self.workflow.tasks.values():
280280
self._set_argument_parameters(
281281
task,
282282
percent_cpu,

0 commit comments

Comments
 (0)