Skip to content

Commit 30684d7

Browse files
committed
"add-cas-numbers-to-production-flows"
1 parent b5f43b2 commit 30684d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bw2io/extractors/ecospold2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ def extract_exchange(cls, exc):
587587
if exc.get("mathematicalRelation"):
588588
data["formula"] = exc.get("mathematicalRelation")
589589
if exc.get("casNumber"):
590-
data["CAS number"] = exc.get("casNumber")
590+
data["CAS number"] = exc.get("casNumber").lstrip("0")
591591

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

0 commit comments

Comments
 (0)