Skip to content

Commit

Permalink
Black reformating
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Oct 2, 2023
1 parent a59fc86 commit ddfb8af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion premise/metals.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def update_metals_use_in_database(self):
self.update_metal_use(ds, origin_var)

self.write_log(ds, "updated")

def update_metal_use(
self,
dataset: dict,
Expand Down Expand Up @@ -205,7 +206,7 @@ def update_metal_use(
if not np.isnan(data.sel(metal=m).values)
]

# Update biosphere exchanges according to DLR use factors ---
# Update biosphere exchanges according to DLR use factors ---
for exc in ws.biosphere(
dataset, ws.either(*[ws.equals("name", x) for x in self.rev_metals_map])
):
Expand Down

0 comments on commit ddfb8af

Please sign in to comment.