mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
handling further edge case of semi-detached maisoneete
This commit is contained in:
parent
0ec7afccd9
commit
aca882f10c
1 changed files with 3 additions and 1 deletions
|
|
@ -474,7 +474,9 @@ class SearchEpc:
|
|||
|
||||
# We handle some edge cases experiences with maisonettes - if built form is detatched, just filter
|
||||
# on maisonette
|
||||
if (estimation_property_type == "Maisonette") & (estimation_built_form == "Detached"):
|
||||
if (estimation_property_type == "Maisonette") & (
|
||||
estimation_built_form in ["Detached", "Semi-Detached"]
|
||||
):
|
||||
epc_data = epc_data[epc_data["property-type"] == estimation_property_type]
|
||||
else:
|
||||
epc_data = epc_data[
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue