pyam icon indicating copy to clipboard operation
pyam copied to clipboard

function `categorize()` applies `OR` logic when multiple criteria are given

Open danielhuppmann opened this issue 7 years ago • 0 comments

The function categorize() applies an OR logic across items when the argument criteria is a dictionary with more than one item. This should be AND, so that only scenarios satisfying all criteria (rather than any) are assigned to the metadata category.

danielhuppmann avatar Apr 22 '18 09:04 danielhuppmann