pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU General Public License v3.0
702 stars 277 forks source link

Convert_to_process_tree not working #476

Closed DriesJarijch closed 5 months ago

DriesJarijch commented 5 months ago

pn to pt.zip

Using this file, I was hoping to generate a process tree from the petrinets provided. My output is stored in the ptrees file. They don't seem to convert correctly.

Thank you in advance

fit-alessandro-berti commented 5 months ago

Dear @DriesJarijch

The conversion works without problems on 1.pnml, 2.pnml and test_im.pnml (which are block-structured)

For test_bm.pnml, it does not work because the Petri net is not block structured (the algorithm works only for that class of Petri nets).

fit-alessandro-berti commented 5 months ago

Errata corrige: it is indeed block-structured. We will work to fix this issue

fit-alessandro-berti commented 5 months ago

We resolved the problems, and obtain the following process trees:

1.pnml: 1

2.pnml: 2

test_im.pnml: test_im

test_bm.pnml: test_bm