Skip to content

Commit

Permalink
lower() the formula
Browse files Browse the repository at this point in the history
  • Loading branch information
ccomb committed Nov 18, 2024
1 parent a3f5db3 commit f34e4f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bw2io/strategies/simapro.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ def sp_allocate_products(db):
ds["parameters"] = {
k.lower(): v for k, v in ds["parameters"].items()
}
for k in ds["parameters"].keys():
if "formula" in ds["parameters"][k]:
ds["parameters"][k]["formula"] = ds["parameters"][k]["formula"].lower()
interp = bw2parameters.ParameterSet(
ds["parameters"]
).get_interpreter()
Expand Down

0 comments on commit f34e4f8

Please sign in to comment.