Skip to content

Commit

Permalink
fixed wrong key
Browse files Browse the repository at this point in the history
  • Loading branch information
ccomb committed Sep 12, 2024
1 parent 774faf3 commit 45688e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/notebooks/explore.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def display_main_data(method, impact_category, activity):
name = ", ".join(m[1:])
scores[name] = {
"Indicateur": name,
"Amount": lca.score,
"Score": lca.score,
"Unité": bw2data.methods[m].get("unit", "(no unit)"),
}

Expand All @@ -428,8 +428,8 @@ def display_main_data(method, impact_category, activity):
}
scores["Ecotoxicity, freshwater"] = {
"Indicateur": "Ecotoxicity, freshwater",
"Amount": scores["Ecotoxicity, freshwater - part 1"]["Amount"]
+ scores["Ecotoxicity, freshwater - part 2"]["Amount"],
"Score": scores["Ecotoxicity, freshwater - part 1"]["Score"]
+ scores["Ecotoxicity, freshwater - part 2"]["Score"],
"Unité": scores["Ecotoxicity, freshwater - part 1"]["Unité"],
}
for trigram in [
Expand Down

0 comments on commit 45688e0

Please sign in to comment.