1 parent 46a18ac commit 4727005Copy full SHA for 4727005
1 file changed
wfcommons/wfbench/translator/templates/swift_t/workflow.swift
@@ -90,7 +90,7 @@ dep = %i
90
workflow_id = "%s".strip()
91
task_id = f"{workflow_id}_{task_name}"
92
93
-if 'workflow_id':
+if workflow_id:
94
__import__("logging").info("Running with Flowcept.")
95
from flowcept import Flowcept, FlowceptTask
96
fc = Flowcept(workflow_id=workflow_id,
@@ -134,7 +134,7 @@ mod.run(
134
135
__import__("logging").info(f"Benchmark {task_name} completed!")
136
137
138
fc_task.end()
139
fc.stop()
140
""";
0 commit comments