Appliances test

This commit is contained in:
Oriol Gavalda 2023-03-23 13:24:40 -04:00
parent eedfd64559
commit 87d5e7c138

View File

@ -14,7 +14,7 @@ from hub.helpers.dictionaries import Dictionaries
sys.path.append('./') sys.path.append('./')
try: try:
file_path = (Path(__file__).parent.parent / 'input_files' / 'selected_building.geojson') file_path = (Path(__file__).parent.parent / 'input_files' / 'selected_building_5755.geojson')
out_path = (Path(__file__).parent.parent / 'out_files') out_path = (Path(__file__).parent.parent / 'out_files')
files = glob.glob(f'{out_path}/*') files = glob.glob(f'{out_path}/*')
for file in files: for file in files:
@ -43,7 +43,7 @@ try:
print('exporting:') print('exporting:')
_idf = EnergyBuildingsExportsFactory('idf', city, out_path).export_debug() _idf = EnergyBuildingsExportsFactory('idf', city, out_path).export()
print(' idf exported...') print(' idf exported...')
_idf.run() _idf.run()