Commit 143bf846 authored by wenjie.zheng's avatar wenjie.zheng

WorkflowTool.py: during convertion, do not add prefix to causality state id.

parent f04f1f34
...@@ -389,9 +389,8 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool): ...@@ -389,9 +389,8 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
elif key == 'causality_state': elif key == 'causality_state':
state_id_list = [] state_id_list = []
for value in values: for value in values:
state_id = 'state_'+value state_id = value
state_id_list.append(state_id) worklist.setMatchedCausalityState(state_id)
worklist.setMatchedCausalityStateList(state_id_list)
worklist.setActboxUrl(qdef.actbox_url) worklist.setActboxUrl(qdef.actbox_url)
worklist.setActboxCategory(qdef.actbox_category) worklist.setActboxCategory(qdef.actbox_category)
worklist.setActboxIcon(qdef.actbox_icon) worklist.setActboxIcon(qdef.actbox_icon)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment