maximikos / Brightway2_Intro

This repo contains an introduction to the use of the Brightway2 LCA framework
Creative Commons Attribution 4.0 International
40 stars 19 forks source link

Index out of range error #8

Open Wara-Fatima opened 1 year ago

Wara-Fatima commented 1 year ago

See whether the details of our biosphere exchange are correct:

ex = [act for act in wbi if 'water bottle production' in act['name']][0] [exc for exc in ex.exchanges() if 'Carbon dioxide' in str(exc)][0].as_dict()

--- [exc for exc in ex.exchanges() if 'Carbon dioxide' in str(exc)][0].as_dict() IndexError: list index out of range

Carbon dioxide is not present in the excel_importer_example