Skip to content

Commit 7d9d2af

Browse files
Merge remote-tracking branch 'upstream/hotfixes' into release
2 parents 0aa7a9f + dfb11d8 commit 7d9d2af

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pm4py/algo/discovery/inductive/fall_through/flower.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ def apply(
5656
parameters: Optional[Dict[str, Any]] = None,
5757
) -> Optional[Tuple[ProcessTree, List[IMDataStructureUVCL]]]:
5858
log = obj.data_structure
59-
uvcl_do = UVCL()
60-
for a in sorted(list(comut.get_alphabet(log))):
61-
uvcl_do[(a,)] = 1
6259
uvcl_redo = UVCL()
60+
for a in sorted(list(comut.get_alphabet(log))):
61+
uvcl_redo[(a,)] = 1
62+
uvcl_do = UVCL()
6363
im_uvcl_do = IMDataStructureUVCL(uvcl_do)
6464
im_uvcl_redo = IMDataStructureUVCL(uvcl_redo)
6565
return ProcessTree(operator=Operator.LOOP), [im_uvcl_do, im_uvcl_redo]
@@ -88,11 +88,11 @@ def apply(
8888
.union(set(x[0] for x in obj.dfg.graph))
8989
.union(set(x[1] for x in obj.dfg.graph))
9090
)
91-
dfg_do = DFG()
92-
for a in activities:
93-
dfg_do.start_activities[a] = 1
94-
dfg_do.end_activities[a] = 1
9591
dfg_redo = DFG()
92+
for a in activities:
93+
dfg_redo.start_activities[a] = 1
94+
dfg_redo.end_activities[a] = 1
95+
dfg_do = DFG()
9696
im_dfg_do = IMDataStructureDFG(InductiveDFG(dfg_do))
9797
im_dfg_redo = IMDataStructureDFG(InductiveDFG(dfg_redo))
9898
return ProcessTree(operator=Operator.LOOP), [im_dfg_do, im_dfg_redo]

pm4py/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
'''
2222
__name__ = "pm4py"
23-
VERSION = "2.7.17.1"
23+
VERSION = "2.7.17.2"
2424
__version__ = VERSION
2525
__doc__ = "Process mining for Python"
2626
__author__ = "Process Intelligence Solutions (PIS)"

0 commit comments

Comments
 (0)