Skip to content

Commit

Permalink
Shorten signature of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed Aug 28, 2023
1 parent ed4810e commit b4086e3
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions pyam/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit b4086e3

Please sign in to comment.