diff --git a/pylot/core/util/event.py b/pylot/core/util/event.py index 8b065b46..f8a3cf0f 100644 --- a/pylot/core/util/event.py +++ b/pylot/core/util/event.py @@ -69,7 +69,7 @@ class Event(ObsPyEvent): def clearObsPyPicks(self, picktype): for index, pick in reversed(list(enumerate(self.picks))): - if pick.method_id == picktype: + if picktype in str(pick.method_id): self.picks.pop(index) def addPicks(self, picks):