Skip to content

Commit

Permalink
Black reformating
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Aug 4, 2023
1 parent 25b9c49 commit 867f42c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions premise/transformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1271,19 +1271,21 @@ def relink_technosphere_exchanges(

# update cache
self.add_new_entry_to_cache(
dataset["location"], exc, [new_exchange(exc, exc["location"], 1.0)], [1.0]
dataset["location"],
exc,
[new_exchange(exc, exc["location"], 1.0)],
[1.0],
)

new_exchanges.append(exc)
continue

if dataset["location"] in possible_locations:

self.add_new_entry_to_cache(
dataset["location"],
exc,
[new_exchange(exc, dataset["location"], 1.0)],
[1.0]
[1.0],
)

exc["location"] = dataset["location"]
Expand Down

0 comments on commit 867f42c

Please sign in to comment.