Skip to content

Commit

Permalink
Update export.py
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Jul 12, 2021
1 parent f8b2f9a commit a0d0c1d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions carculator_truck/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,8 +845,8 @@ def write_lci(

if (
ecoinvent_compatibility
or ecoinvent_compatibility
and tuple_output[0] not in activities_to_be_removed
or (ecoinvent_compatibility == False
and tuple_output[0] not in activities_to_be_removed)
):

string = ""
Expand Down Expand Up @@ -1300,6 +1300,11 @@ def get_simapro_technosphere(self):
return dict_tech

def format_data_for_lci_for_bw2(self, data):
"""
Convert inventory data into a dictionary format that can be consumed by `brightway2`.
:param data:
:return:
"""

rows = []
rows.extend((["Database", self.db_name], ("format", "Excel spreadsheet")))
Expand Down

0 comments on commit a0d0c1d

Please sign in to comment.