Skip to content

Commit

Permalink
Merge branch 'ft-1353-adding-trace-attributes-log-to-interval-tree' i…
Browse files Browse the repository at this point in the history
…nto 'integration'

FT 1353 Adding trace attributes in log_to_interval_tree

See merge request pm4py/pm4py-core!519
  • Loading branch information
fit-sebastiaan-van-zelst committed Nov 12, 2021
2 parents 10dffb5 + ea836d4 commit 9075cbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def apply(log: EventLog, parameters: Optional[Dict[Any, Any]] = None) -> Interva
if time_j >= time_i:
#print(time_i, time_j, (time_i + time_j)/2.0)
tree.add(Interval(time_i - epsilon, time_j + epsilon,
data={"source_event": trace[i], "target_event": trace[j]}))
data={"source_event": trace[i], "target_event": trace[j], "trace_attributes": trace.attributes}))
break

return tree

0 comments on commit 9075cbf

Please sign in to comment.