Skip to content

Commit

Permalink
Add exception for LED methanol reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
macflo8 committed Dec 9, 2024
1 parent 1ece864 commit c04df42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions message_ix_models/model/material/report/run_reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ def split_fe_other(
["Coal", "Gas", "Biomass", "Hydrogen"],
):
df_shrs = pd.DataFrame(rep.get(f"share::{c}methanol-final"))
if df_shrs.empty:
continue
df_shrs = df_shrs.reset_index()
df_shrs.rename(columns={"nl": "Region"}, inplace=True)
df_shrs = df_shrs.pivot(columns="ya", values=0, index="Region")
Expand Down

0 comments on commit c04df42

Please sign in to comment.