Skip to content

Commit

Permalink
Black reformating
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Sep 29, 2024
1 parent d1ede19 commit 8a2c12c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unfold/unfold.py
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,9 @@ def format_superstructure_dataframe(self) -> None:
(self.scenario_df["flow type"] == "biosphere"), "from database"
] = self.scenario_df.loc[
(self.scenario_df["flow type"] == "biosphere"), "from key"
].apply(lambda x: x[0] if x is not None else None)
].apply(
lambda x: x[0] if x is not None else None
)

self.scenario_df = self.scenario_df[
[
Expand Down

0 comments on commit 8a2c12c

Please sign in to comment.