def type(self): if "interactionType" in self._interaction: if isinstance(self._interaction["interactionType"], list): return mif.CvTerm(self._interaction["interactionType"][0]) if isinstance(self._interaction["interactionType"], dict): return mif.CvTerm(self._interaction["interactionType"]) return None
def types(self): if "interactionType" in self._interaction: if isinstance(self._interaction["interactionType"], list): ret = [] for t in self._interaction["interactionType"]: ret.append(mif.CvTerm(t)) return ret return None
def evidenceType(self): if "evidenceType" in self._interaction: if isinstance(self._interaction["evidenceType"], dict): return mif.CvTerm(self._interaction["evidenceType"]) return None
def interactorType(self): if "interactorType" in self._interaction: if isinstance(self._interaction["interactorType"], dict): return mif.CvTerm(self._interaction["interactorType"]) return None