Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fit-alessandro-berti committed Sep 26, 2023
1 parent f699329 commit f024067
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pm4py/objects/ocel/obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ def get_summary(self) -> str:
return "".join(ret)

def is_ocel20(self):
unique_qualifiers = [x for x in self.relations[self.qualifier].unique() if not self.__check_is_nan(x)]
unique_qualifiers = []
if self.qualifier in self.relations.columns:
unique_qualifiers = [x for x in self.relations[self.qualifier].unique() if not self.__check_is_nan(x)]

return len(self.o2o) > 0 or len(self.object_changes) > 0 or len(unique_qualifiers) > 0

Expand Down

0 comments on commit f024067

Please sign in to comment.