architecture-building-systems / CityEnergyAnalyst

The City Energy Analyst (CEA)
https://www.cityenergyanalyst.com/
MIT License
194 stars 61 forks source link

Dashboard database visualization fails with ill-defined use type #3502

Open ddceruti opened 6 months ago

ddceruti commented 6 months ago

Describe the bug When a use type .csv file contains an "empty" row, such as: ,,,,,,,,,, the database is imported but cannot be visualized.

To Reproduce

  1. Add a new line with only empty values in any archetype/use_types/files.csv

Expected behaviour The database is to be visualized since the import itself does not cause any problems for CEA.

Screenshots Error message in the dashboard database section:

81781F6B-52ED-4169-A290-03BB893198C3

Hardware (please complete the following information):

ddceruti commented 6 months ago

A quick fix is to open all use_types and eliminate the empty rows.