Closed
Description
Hi,
According to the docs I can see how I could create a relationship, however I do not manage to link two terms with a relationship. I would like to achieve something like:
ms: Ontology = pronto.Ontology.from_obo_library("ms.obo")
rel_is_a: Relationship = ms.get_relationship("is_a")
ms['MS:1000031'].relationships.set(rel_is_a, ms['MS:1001792'])
Is this possible somehow?
Thanks,
José Antonio