def _get_event(self, label):
    if label not in self._label2event:
      raise ValueError("Unknown label %s" % str(label))
    return self._label2event[label]
dataset/ETHPy150Open ucb-sts/sts/sts/event_dag.py/EventDag._get_event/original