From ebb712ebaf056fa1a9f74ac88e23058dce4b4908 Mon Sep 17 00:00:00 2001 From: guille Date: Thu, 10 Aug 2023 11:01:37 -0400 Subject: [PATCH] Add missing values to reference city to climate zone and to montreal functions --- hub/helpers/data/montreal_function_to_hub_function.py | 7 ++++++- hub/imports/construction/helpers/construction_helper.py | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hub/helpers/data/montreal_function_to_hub_function.py b/hub/helpers/data/montreal_function_to_hub_function.py index cf557044..840aec06 100644 --- a/hub/helpers/data/montreal_function_to_hub_function.py +++ b/hub/helpers/data/montreal_function_to_hub_function.py @@ -583,7 +583,12 @@ class MontrealFunctionToHubFunction: '6353': cte.WAREHOUSE, '3392': cte.INDUSTRY, '5114': cte.STRIP_MALL, - '5131': cte.STRIP_MALL} + '5131': cte.STRIP_MALL, + '4815': cte.NON_HEATED, + '6651': cte.WORKSHOP, + '2822': cte.INDUSTRY, + '2821': cte.INDUSTRY + } @property def dictionary(self) -> dict: diff --git a/hub/imports/construction/helpers/construction_helper.py b/hub/imports/construction/helpers/construction_helper.py index cece5716..85ba70ed 100644 --- a/hub/imports/construction/helpers/construction_helper.py +++ b/hub/imports/construction/helpers/construction_helper.py @@ -42,7 +42,8 @@ class ConstructionHelper: 'Varennes': '6', 'Laval': '6', 'Longueuil': '6', - 'Saint-Leonard': '6' + 'Saint-Leonard': '6', + 'La Prairie': '6' } _reference_city_to_israel_climate_zone = {