Skip to content

Commit

Permalink
Remove warning of missing model mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
dc-almeida committed Sep 12, 2024
1 parent 65f005c commit c61a87e
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 @@ -551,7 +551,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 c61a87e

Please sign in to comment.