Skip to content

Commit

Permalink
Remove missing model mapping warning (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
dc-almeida authored Sep 17, 2024
1 parent 8d31735 commit 73715e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nomenclature/processor/region.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,9 @@ def apply(self, df: IamDataFrame) -> IamDataFrame:

# if no mapping is defined the data frame is returned unchanged
if model not in self.mappings:
logger.info(f"No model mapping found for model '{model}'")
logger.info(
f"Skipping region aggregation for model '{model}' (no region processing mapping)"
)
processed_dfs.append(model_df)

# otherwise we first rename, then aggregate
Expand Down

0 comments on commit 73715e4

Please sign in to comment.