Skip to content

Commit

Permalink
Update error message for typology validation
Browse files Browse the repository at this point in the history
  • Loading branch information
reyery committed Sep 13, 2024
1 parent 0901e2f commit 6365fed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cea/interfaces/dashboard/api/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ def create_typology(scenario_form, zone_df, locator):
if not typology_df["Name"].equals(zone_df["Name"]):
raise HTTPException(
status_code=status.HTTP_400_BAD_REQUEST,
detail='Typology buildings do not match zone buildings.'
'Check buildings in typology file with zone file.',
detail='Building geometries (zone) and Building information (typology) do not match.'
'Ensure the `Name` Columns of the two files are identical.',
)

copy_typology(scenario_form.typology, locator)
Expand Down

0 comments on commit 6365fed

Please sign in to comment.