From 921034a884d835c477f67aa54278ea47eaeb1e36 Mon Sep 17 00:00:00 2001 From: Guille Date: Tue, 7 May 2024 05:22:26 +0200 Subject: [PATCH] simplify gml call --- hub_api/workflow/insel_montly_energy_balance.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hub_api/workflow/insel_montly_energy_balance.py b/hub_api/workflow/insel_montly_energy_balance.py index 2efd1da..07f0f7a 100644 --- a/hub_api/workflow/insel_montly_energy_balance.py +++ b/hub_api/workflow/insel_montly_energy_balance.py @@ -51,13 +51,11 @@ class InselMonthlyEnergyBalance(Resource, Config): year_of_construction_field = request.form.get('year_of_construction_field') function_field = request.form.get('function_field') function_dictionary = self._dictionaries[request.form.get('function_dictionary_name')] - hub_crs = request.form.get('hub_crs') return GeometryFactory('citygml', path=file_path, year_of_construction_field=year_of_construction_field, function_field=function_field, - function_to_hub=function_dictionary, - hub_crs=hub_crs).city + function_to_hub=function_dictionary).city except KeyError: return None