Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Sep 29, 2024
2 parents 5b3076b + 8a2c12c commit 0fe5d93
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 0fe5d93

Please sign in to comment.