We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 674c54c commit 90bd8a4Copy full SHA for 90bd8a4
1 file changed
task_queue/tasks.py
@@ -53,7 +53,7 @@ def __run_simulation(simulation_input):
53
"renewable_factor",
54
"land_requirement_factor",
55
"water_consumption_factor",
56
- "indirect_water_consumption_factor"
+ "indirect_water_consumption_factor",
57
"land_requirement",
58
"water_footprint",
59
"ghg_emissions",
@@ -62,7 +62,7 @@ def __run_simulation(simulation_input):
62
]
63
64
# Extract user-defined MOO weights
65
- moo_wf = parameters.get("moo_wf", None)
+ moo_wf = parameters.get("moo_wf", {})
66
67
# Determine if MOO should be active
68
wf_cost = moo_wf.get("wf_cost", None)
0 commit comments