Skip to content

Commit

Permalink
"add-cas-numbers-to-production-flows"
Browse files Browse the repository at this point in the history
  • Loading branch information
Stew-McD committed Dec 17, 2023
1 parent b5f43b2 commit 30684d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bw2io/extractors/ecospold2.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ def extract_exchange(cls, exc):
if exc.get("mathematicalRelation"):
data["formula"] = exc.get("mathematicalRelation")
if exc.get("casNumber"):
data["CAS number"] = exc.get("casNumber")
data["CAS number"] = exc.get("casNumber").lstrip("0")

data.update(cls.extract_uncertainty_dict(exc))
return data

0 comments on commit 30684d7

Please sign in to comment.