From 5bf8303291042d89659a9b9e86ee28199e4d153f Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Mon, 8 Jan 2024 10:35:32 +0100 Subject: [PATCH] Add missing typedef --- src/pyobo/struct/typedef.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pyobo/struct/typedef.py b/src/pyobo/struct/typedef.py index 2dd90daf..8cde88b9 100644 --- a/src/pyobo/struct/typedef.py +++ b/src/pyobo/struct/typedef.py @@ -281,6 +281,9 @@ def get_reference_tuple(relation: RelationHint) -> Tuple[str, str]: has_ontology_root_term = TypeDef.from_triple( prefix=IAO_PREFIX, identifier="0000700", name="has ontology root term" ) +definition_source = TypeDef.from_triple( + prefix=IAO_PREFIX, identifier="0000119", name="definition source" +) has_dbxref = TypeDef.from_curie("oboInOwl:hasDbXref", name="has database cross-reference") editor_note = TypeDef.from_triple(prefix=IAO_PREFIX, identifier="0000116", name="editor note")