Closed juweya closed 3 years ago
@juweya I don't know who you are, but I very much appreciate your work in the last months! Sorry about the delayed response, I am not getting notified about PRs and so only see them at random (which is very frustrating).
land.py: Categories where missing for the land transformation impact category causing an error down the road when trying to match the biosphere flows of the characterisation factors with the ones in the biosphere database in match_multiple. The strategy reset_categories was used to avoid this error analogous to the land occupation category.
string_manipulation.py: An error occured in some cases where the key "synonyms" existed but its value was None. Workaround uses dict.get() method which returns the value if the key exists or None if the key does not exist causing the following lines to be skipped as well if the value is None.