Test the code, success

This commit is contained in:
Alireza Adli 2024-07-15 15:35:22 -04:00
parent 38fa1cabc2
commit 737f5182f0

View File

@ -17,9 +17,8 @@ from hub.helpers.dictionaries import Dictionaries
class LCACarbonWorkflow: class LCACarbonWorkflow:
def __init__(self, city_path): def __init__(self, city_path):
file_path = (Path(__file__).parent.parent / 'input_files' / 'output_buildings_test.geojson') file_path = (Path(__file__).parent / 'input_files' / city_path)
out_path = (Path(__file__).parent.parent / 'out_files') out_path = (Path(__file__).parent / 'out_files')
files = glob.glob(f'{out_path}/*')
print('[simulation start]') print('[simulation start]')
city = GeometryFactory('geojson', city = GeometryFactory('geojson',