From bf2ee824653855953637868a327fdf15606663a5 Mon Sep 17 00:00:00 2001 From: p_monsalvete Date: Tue, 25 Apr 2023 09:59:52 -0400 Subject: [PATCH] added dictionary to access montreal custom costs catalog --- .../data/hub_function_to_nrel_construction_function.py | 2 +- hub/helpers/dictionaries.py | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/hub/helpers/data/hub_function_to_nrel_construction_function.py b/hub/helpers/data/hub_function_to_nrel_construction_function.py index 2c0a2906..0d9aedd8 100644 --- a/hub/helpers/data/hub_function_to_nrel_construction_function.py +++ b/hub/helpers/data/hub_function_to_nrel_construction_function.py @@ -67,7 +67,7 @@ class HubFunctionToNrelConstructionFunction: cte.MUSEUM: 'n/a', cte.PERFORMING_ARTS_THEATRE: 'n/a', cte.TRANSPORTATION: 'n/a', - cte.AUTOMOTIVE_FACILITY: 'n/aquebec_to_hub', + cte.AUTOMOTIVE_FACILITY: 'n/a', cte.PARKING_GARAGE: 'n/a', cte.RELIGIOUS: 'n/a', cte.NON_HEATED: 'n/a' diff --git a/hub/helpers/dictionaries.py b/hub/helpers/dictionaries.py index 1fc73fde..3b5a9970 100644 --- a/hub/helpers/dictionaries.py +++ b/hub/helpers/dictionaries.py @@ -14,6 +14,7 @@ from hub.helpers.data.hub_function_to_nrcan_construction_function import HubFunc from hub.helpers.data.hub_usage_to_comnet_usage import HubUsageToComnetUsage from hub.helpers.data.hub_usage_to_hft_usage import HubUsageToHftUsage from hub.helpers.data.hub_usage_to_nrcan_usage import HubUsageToNrcanUsage +from hub.helpers.data.hub_function_to_montreal_custom_costs_function import HubFunctionToMontrealCustomCostsFunction class Dictionaries: @@ -91,3 +92,11 @@ class Dictionaries: """ return AlkisFunctionToHubFunction().dictionary + @property + def hub_function_to_montreal_custom_costs_function(self) -> dict: + """ + Get hub function to Montreal custom costs function, transformation dictionary + :return: dict + """ + return HubFunctionToMontrealCustomCostsFunction().dictionary +