Skip to content

Commit 292be2d

Browse files
committed
fix: handle missing 'regions' key in regional recipe
1 parent f999fce commit 292be2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/climate-ref-esmvaltool/src/climate_ref_esmvaltool/diagnostics/regional_historical_changes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def update_recipe(
255255
}
256256

257257
# Remove the unused regions alias.
258-
recipe.pop("regions")
258+
recipe.pop("regions", None)
259259
# Update the dataset.
260260
recipe.pop("datasets")
261261
recipe_variables = dataframe_to_recipe(next(iter(input_files.values())))

0 commit comments

Comments
 (0)