Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OPTIS_App
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OPTIS
OPTIS_App
Commits
07f342f0
Commit
07f342f0
authored
Jun 4, 2023
by
Nour
Browse files
Options
Downloads
Patches
Plain Diff
testing the merge
parent
90c69e9d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/eventlog.py
+3
-3
3 additions, 3 deletions
backend/eventlog.py
with
3 additions
and
3 deletions
backend/eventlog.py
+
3
−
3
View file @
07f342f0
...
@@ -24,15 +24,15 @@ def add_end_event(process, event_id, end_timestamp):
...
@@ -24,15 +24,15 @@ def add_end_event(process, event_id, end_timestamp):
# add functions for adding events with their attributes to the log
# add functions for adding events with their attributes to the log
<<<<<<<<
HEAD
:
Simpy_Tutorial
/
eventlog
.
py
def
export_to_csv
(
process
,
file_path
):
def
export_to_csv
(
process
,
file_path
):
event_log_df
=
pd
.
DataFrame
.
from_dict
(
process
.
event_log
)
event_log_df
=
pd
.
DataFrame
.
from_dict
(
process
.
event_log
)
event_log_df
.
to_csv
(
file_path
,
index
=
False
)
event_log_df
.
to_csv
(
file_path
,
index
=
False
)
========
def
export_to_csv
(
env
,
file_path
):
def
export_to_csv
(
env
,
file_path
):
event_log_df
=
pd
.
DataFrame
.
from_dict
(
env
.
bigeventlog
)
event_log_df
=
pd
.
DataFrame
.
from_dict
(
env
.
bigeventlog
)
event_log_df
.
to_csv
(
file_path
)
event_log_df
.
to_csv
(
file_path
)
>>>>>>>>
origin
/
aleks2
:
backend
/
eventlog
.
py
def
export_to_xes
(
process
,
file_path
):
def
export_to_xes
(
process
,
file_path
):
# Use appropriate code to export to XES format
# Use appropriate code to export to XES format
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment