From 737f5182f0a8a6fe40cf7d15bb0dea57e30d1851 Mon Sep 17 00:00:00 2001 From: Alireza Adli Date: Mon, 15 Jul 2024 15:35:22 -0400 Subject: [PATCH] Test the code, success --- lca_carbon_workflow.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lca_carbon_workflow.py b/lca_carbon_workflow.py index 3f60a27..bb858be 100644 --- a/lca_carbon_workflow.py +++ b/lca_carbon_workflow.py @@ -17,9 +17,8 @@ from hub.helpers.dictionaries import Dictionaries class LCACarbonWorkflow: def __init__(self, city_path): - file_path = (Path(__file__).parent.parent / 'input_files' / 'output_buildings_test.geojson') - out_path = (Path(__file__).parent.parent / 'out_files') - files = glob.glob(f'{out_path}/*') + file_path = (Path(__file__).parent / 'input_files' / city_path) + out_path = (Path(__file__).parent / 'out_files') print('[simulation start]') city = GeometryFactory('geojson',