From 8a2c12c582a01651db2bddbcc79ae3fed5fb26c9 Mon Sep 17 00:00:00 2001 From: romainsacchi Date: Sun, 29 Sep 2024 07:15:29 +0000 Subject: [PATCH] Black reformating --- unfold/unfold.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unfold/unfold.py b/unfold/unfold.py index 1a39f6d..6c7a7e2 100644 --- a/unfold/unfold.py +++ b/unfold/unfold.py @@ -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[ [