From 620a546994d9e9f004c242dfb375572c0f34870a Mon Sep 17 00:00:00 2001 From: Hamza ZOGHMAR Date: Thu, 10 Aug 2023 16:07:21 +0200 Subject: [PATCH] add ulg version info to addition infos --- api/parsers/ulgparser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/parsers/ulgparser.py b/api/parsers/ulgparser.py index e16fcf9..c1323d9 100644 --- a/api/parsers/ulgparser.py +++ b/api/parsers/ulgparser.py @@ -84,6 +84,9 @@ def setAdditionalInfo(self): parameters_dict = [{"index": idx, "name": name, "value": value} for idx, (name, value) in enumerate(self.ulg.initial_parameters.items())] self.additionalInfo.append({"name": "Initial Parameters", "info": parameters_dict, "search": True}) + version_info = [{"name": key, "value": value} for key, value in self.ulg.msg_info_dict.items()] + self.additionalInfo.append({"name": "Version", "info": version_info, "search": False}) + def initDefaultEntity(self): self.default_entity = CesiumEntity(name='ulg default entity', color="#ffffff",