From 0605d5b4f6fc1bd9cd1a5cc0562a5060037d6fc4 Mon Sep 17 00:00:00 2001 From: Pilar Date: Tue, 10 Jan 2023 09:55:38 -0500 Subject: [PATCH] updating the code to changes in hub (not finished -> not working) --- imports/usage_factory.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/imports/usage_factory.py b/imports/usage_factory.py index ed567b89..2d834a4d 100644 --- a/imports/usage_factory.py +++ b/imports/usage_factory.py @@ -26,14 +26,15 @@ class UsageFactory: """ Enrich the city with COMNET usage library """ - self._city.level_of_detail.usage_name = 2 + self._city.level_of_detail.usage = 2 ComnetUsageParameters(self._city, self._base_path).enrich_buildings() def _nrcan(self): """ Enrich the city with NRCAN usage library """ - return NrcanUsageParameters(self._city, self._base_path).enrich_buildings() + self._city.level_of_detail.usage = 2 + NrcanUsageParameters(self._city, self._base_path).enrich_buildings() def enrich(self): """