pm4py.objects.ocel.util.ocel_consistency module#

pm4py.objects.ocel.util.ocel_consistency.apply(ocel: OCEL, parameters: Dict[Any, Any] | None = None) OCEL[source]#

Forces the consistency of the OCEL, ensuring that the event/object identifier, event/object type are of type string and non-empty.

Parameters:
  • ocel – OCEL

  • parameters – Possible parameters of the method

Returns:

Consistent OCEL

Return type:

ocel