mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
updated asset list for immo to reference already installed
This commit is contained in:
parent
c58389a266
commit
f1e3bca9bf
1 changed files with 6 additions and 6 deletions
|
|
@ -48,7 +48,7 @@ patches = [
|
|||
# This is information that is found as a result of the non-invasives, that mean that certain measures
|
||||
# have been installed already. To reflect this in the front end, it is included in the recommendation, however
|
||||
# the cost is removed and instead, a message is presented saying that the measure is already installed.
|
||||
overrides = [
|
||||
already_installed = [
|
||||
{
|
||||
'address': '5 Oaklands',
|
||||
'postcode': 'B62 0JA',
|
||||
|
|
@ -87,11 +87,11 @@ def app():
|
|||
)
|
||||
|
||||
# Store overrides in s3
|
||||
overrides_filename = f"{USER_ID}/{PORTFOLIO_ID}/overrides.json"
|
||||
already_installed_filename = f"{USER_ID}/{PORTFOLIO_ID}/already_installed.json"
|
||||
save_csv_to_s3(
|
||||
dataframe=pd.DataFrame(overrides),
|
||||
dataframe=pd.DataFrame(already_installed),
|
||||
bucket_name="retrofit-plan-inputs-dev",
|
||||
file_name=overrides_filename
|
||||
file_name=already_installed_filename
|
||||
)
|
||||
|
||||
# Store patches in s3
|
||||
|
|
@ -109,7 +109,7 @@ def app():
|
|||
"goal": "Increase EPC",
|
||||
"goal_value": "C",
|
||||
"trigger_file_path": filename,
|
||||
"overrides_file_path": overrides_filename,
|
||||
"already_installed_file_path": already_installed_filename,
|
||||
"patches_file_path": patches_filename,
|
||||
"budget": None,
|
||||
}
|
||||
|
|
@ -122,7 +122,7 @@ def app():
|
|||
"goal": "Increase EPC",
|
||||
"goal_value": "B",
|
||||
"trigger_file_path": filename,
|
||||
"overrides_file_path": overrides_filename,
|
||||
"already_installed_file_path": already_installed_filename,
|
||||
"patches_file_path": patches_filename,
|
||||
"budget": None,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue