malcolmSQ commited on
Commit ·
2ce2d2a
1
Parent(s): 17da2d1
fix: pass project_duration, buffer_pct, and soil_carbon as keyword arguments in initial call to update_declining_increment
Browse files- dashboard/app.py +1 -4
dashboard/app.py
CHANGED
|
@@ -265,10 +265,7 @@ This version is smoother and may yield slightly different results than the discr
|
|
| 265 |
tm_dbh_B = model_inputs['tm_dbh_B']
|
| 266 |
r0_height_B = model_inputs['r0_height_B']
|
| 267 |
tm_height_B = model_inputs['tm_height_B']
|
| 268 |
-
|
| 269 |
-
mort_vars = []
|
| 270 |
-
for yr in range(1, 11):
|
| 271 |
-
mort_vars.append(model_inputs[f'year_{yr}'])
|
| 272 |
mort_sub = model_inputs['subsequent']
|
| 273 |
project_duration = model_inputs['project_duration']
|
| 274 |
buffer_pct = model_inputs['buffer_pct']
|
|
|
|
| 265 |
tm_dbh_B = model_inputs['tm_dbh_B']
|
| 266 |
r0_height_B = model_inputs['r0_height_B']
|
| 267 |
tm_height_B = model_inputs['tm_height_B']
|
| 268 |
+
mort_vars = [model_inputs[f'year_{yr}'] for yr in range(1, 11)]
|
|
|
|
|
|
|
|
|
|
| 269 |
mort_sub = model_inputs['subsequent']
|
| 270 |
project_duration = model_inputs['project_duration']
|
| 271 |
buffer_pct = model_inputs['buffer_pct']
|