forked from s_ranjbar/city_retrofit
prints for debug in unittest
This commit is contained in:
parent
4098550b1b
commit
17d4f3d8bc
|
@ -65,7 +65,11 @@ class CityLayerTest(TestCase):
|
|||
city = GeometryFactory('gpandas', data_frame=buildings_df).city
|
||||
ConstructionFactory('nrel', city).enrich()
|
||||
UsageFactory('comnet', city).enrich()
|
||||
EnergyBuildingsExportsFactory('idf', city, output_path, target_buildings=target_buildings).export_debug()
|
||||
print(target_buildings, adjacent_buildings)
|
||||
for building in city.buildings:
|
||||
print(building.name)
|
||||
EnergyBuildingsExportsFactory('idf', city, output_path, target_buildings=target_buildings,
|
||||
adjacent_buildings=adjacent_buildings).export_debug()
|
||||
filepath = os.path.join(output_path, city.name + ".idf")
|
||||
newfilepath = filepath[:-4] + "_" + uuid.uuid4().hex[:10] + ".idf"
|
||||
print(filepath)
|
Loading…
Reference in New Issue
Block a user