Skip to content

Commit

Permalink
Merge branch 'release' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Berti committed Oct 27, 2018
2 parents cfcc3e9 + 840f6de commit 3521317
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/token_replay_imdf.py
Expand Up @@ -2,10 +2,11 @@
from pm4py.algo.discovery.inductive import factory as inductive_factory
from pm4py.objects.log.importer.xes import factory as xes_importer
from pm4py.visualization.petrinet import factory as pn_vis_factory
import os


def execute_script():
log_path = "..\\tests\\input_data\\running-example.xes"
log_path = os.path.join("..","tests","input_data","running-example.xes")
log = xes_importer.import_log(log_path)
print("loaded log")
net, marking, final_marking = inductive_factory.apply(log)
Expand Down
3 changes: 2 additions & 1 deletion tests/documentation_tests/test_doc_xes1.py
@@ -1,4 +1,5 @@
import unittest
import os


class XES1DocumentationTest(unittest.TestCase):
Expand All @@ -8,7 +9,7 @@ def test_xes1documentation(self):
self.dummy_variable = "dummy_value"
import os
from pm4py.objects.log.importer.xes import factory as xes_importer
log = xes_importer.import_log("input_data\\running-example.xes")
log = xes_importer.import_log(os.path.join("input_data","running-example.xes"))
log_lenth = len(log)
first_trace_length = len(log[0])
del log_lenth
Expand Down

0 comments on commit 3521317

Please sign in to comment.