def __init__(self, group, edgetype, bait_ids=None): Interaction.__init__(self) # We first set the putative bait so it can be used later for the # ppiTrim_id if bait_ids is not None: self.set_template_baits(bait_ids) self._create_complex(group, edgetype)
def __init__(self, group, ontology, edgetype): Interaction.__init__(self) self._conflicts = [] self._consolidate_all(group, ontology, edgetype)