Skip to content

Commit

Permalink
Re-parent more general process mining tools under pm package
Browse files Browse the repository at this point in the history
  • Loading branch information
adamburkegh committed Nov 29, 2024
1 parent 821600e commit c6d7d03
Show file tree
Hide file tree
Showing 17 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions loggen/wpn_loggen.py → pm/loggen/wpn_loggen.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from logging import *
import math

from ssnap.ssnap import StateSnapshot
from pmmodels.plpn import *
from pm.ssnap.ssnap import StateSnapshot
from pm.pmmodels.plpn import *


class LightStateLog:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import unittest

from pmkoalas.models.pnfrag import *
from loggen.wpn_loggen import *
from pm.loggen.wpn_loggen import *


def findPlace(net,label):
Expand Down
Empty file added tests/pm/pmmodels/__init__.py
Empty file.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from pmmodels.plpn import *
from pm.pmmodels.plpn import *



Expand Down
Empty file added tests/pm/ssnap/__init__.py
Empty file.
10 changes: 5 additions & 5 deletions tests/ssnap/test_ssnap.py → tests/pm/ssnap/test_ssnap.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
import os.path
import unittest

from ssnap.ssnap import (StateSnapshot, sslogFromCSV, sslogWithRanges,
from pm.ssnap.ssnap import (StateSnapshot, sslogFromCSV, sslogWithRanges,
pruneForNoise, arcsSpanningTran)
import ssnap.ssnap
from pm.ssnap import ssnap
from pmkoalas.models.petrinet import *
from pmkoalas.models.pnfrag import *
import logging
from logging import debug, info
from tests import ssnap as tssnap
from tests.pm import ssnap as tssnap

mpath = os.path.abspath(tssnap.__path__[0])

# logging.getLogger().setLevel(logging.DEBUG)

def mine(sslog):
return ssnap.ssnap.mine(sslog,label="ssmtest")
return ssnap.mine(sslog,label="ssmtest")

def mineWithRecode(sslog,expected,final=False):
result = ssnap.ssnap.mine(sslog,label="ssmtest",final=final)
result = ssnap.mine(sslog,label="ssmtest",final=final)
recodePlaces(result,expected)
return result

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c6d7d03

Please sign in to comment.