From 04bdf4e07073487e0ba7e79ba8a48e94f83f2472 Mon Sep 17 00:00:00 2001 From: irinaschubert Date: Mon, 22 Nov 2021 11:14:56 +0100 Subject: [PATCH] fix comments in ontology creation --- knora/dsplib/utils/onto_create_ontology.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knora/dsplib/utils/onto_create_ontology.py b/knora/dsplib/utils/onto_create_ontology.py index 1768cbc88..3ebc4c250 100644 --- a/knora/dsplib/utils/onto_create_ontology.py +++ b/knora/dsplib/utils/onto_create_ontology.py @@ -305,7 +305,7 @@ def create_ontology(input_file: str, if isinstance(super_classes, str): super_classes = [super_classes] reslabel = LangString(resclass.get("labels")) - rescomment = resclass.get("comment") + rescomment = resclass.get("comments") if rescomment is not None: rescomment = LangString(rescomment) try: