Skip to content

Commit

Permalink
Merge branch 'PMPY-1593' into 'integration'
Browse files Browse the repository at this point in the history
PMPY-1593 Bug fix BPMN importer

See merge request process-mining/pm4py/pm4py-core!604
  • Loading branch information
fit-alessandro-berti committed Feb 3, 2022
2 parents ef53179 + 2b7ff10 commit cbf848e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pm4py/objects/bpmn/importer/variants/lxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ def parse_element(bpmn_graph, counts, curr_el, parents, incoming_dict, outgoing_
nodes_dict[id] = node
elif tag.endswith("incoming"): # incoming flow of a node
if node is not None:
incoming_dict[curr_el.text.strip()] = node
incoming_dict[curr_el.text.strip()] = (node, process)
elif tag.endswith("outgoing"): # outgoing flow of a node
if node is not None:
outgoing_dict[curr_el.text.strip()] = node
outgoing_dict[curr_el.text.strip()] = (node, process)
elif tag.endswith("sequenceflow"): # normal sequence flow between two nodes
seq_flow_id = curr_el.get("id")
source_ref = curr_el.get("sourceRef")
Expand Down

0 comments on commit cbf848e

Please sign in to comment.