From b4086e30fb6da545dd98900f7a0c13e694785316 Mon Sep 17 00:00:00 2001 From: Daniel Huppmann Date: Mon, 28 Aug 2023 12:26:33 +0200 Subject: [PATCH] Shorten signature of deprecated method --- pyam/core.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/pyam/core.py b/pyam/core.py index c4b9a2e97..ddd9e90d1 100755 --- a/pyam/core.py +++ b/pyam/core.py @@ -2561,16 +2561,7 @@ def load_meta(self, path, sheet_name="meta", ignore_conflict=False, **kwargs): # merge imported meta indicators self.meta = merge_meta(meta, self.meta, ignore_conflict=ignore_conflict) - def map_regions( - self, - map_col, - agg=None, - copy_col=None, - fname=None, - region_col=None, - remove_duplicates=False, - inplace=False, - ): + def map_regions(self, map_col, **kwargs): # TODO: deprecated, remove for release >= 2.1 raise DeprecationWarning( "This method was removed. Please use `aggregate_region()` instead."