Closed galenseilis closed 1 year ago
Dear @galenseilis
Could you confirm you have the latest version of pm4py version 2.7.5?
Dear @galenseilis
Could you confirm you have the latest version of pm4py version 2.7.5?
@fit-alessandro-berti
Yes, I can confirm that:
>>> pm4py.__version__
'2.7.5'
Also, I am using Python 3.10.4, if that makes any difference. The OS is Windows Server 2019 Standard.
Thanks for signaling. We'll release a fix for this in the next release.
In the meanwhile, you can use the following workaround:
pm4py.convert_to_bpmn(*pm4py.convert_to_petri_net(tree))
I have an event log with 1034827 rows. After preparing it with
pm4py.format_dataframe
and runningpm4py.discover_process_tree_inductive
the result, I then ranpm4py.convert_to_bpmn
in which it seems to have run intoException: Loop doesn't have 2 childs
.I don't know the inner workings of PM4Py to infer what this means, but I know this code works on a handful of subsets of the data. Is 1034827 too much? Or is there a data quality issue that that needs to be addressed? Or something else?
Here is the part of my traceback concerning PM4Py (the rest is Kedro pipeline calls that I don't think have any relevance).