Skip to content

Index out of range error #8

Description

@Wara-Fatima

#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions