From dce80ffd74c76160d9a480c1b78928c1247e5d1f Mon Sep 17 00:00:00 2001 From: Fred Thomas Date: Wed, 27 Mar 2024 12:24:36 +0000 Subject: [PATCH] Multiply damage fraction column only --- workflow/transport-flood/event_set_direct_damages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/transport-flood/event_set_direct_damages.py b/workflow/transport-flood/event_set_direct_damages.py index cc1f9e8e..f1787921 100644 --- a/workflow/transport-flood/event_set_direct_damages.py +++ b/workflow/transport-flood/event_set_direct_damages.py @@ -64,7 +64,7 @@ logging.info(f"Rehab cost multiplier: {rehab_cost_multiplier}") - rehab_cost = rehab_cost * rehab_cost_multiplier + rehab_cost.iloc[:, 1] = rehab_cost.iloc[:, 1] * rehab_cost_multiplier logging.info(f"Rehabilitation costs after multiplier\n{rehab_cost}") logging.info("Annotate network with rehabilitation costs")