From d08cefe71b29c3a98376ed619babad986da48ab8 Mon Sep 17 00:00:00 2001 From: dilpath Date: Mon, 18 Nov 2024 18:23:40 +0100 Subject: [PATCH] use actual criterion --- petab_select/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/petab_select/plot.py b/petab_select/plot.py index 06f3fb4..414927d 100644 --- a/petab_select/plot.py +++ b/petab_select/plot.py @@ -97,7 +97,7 @@ def upset( """ # Get delta criterion values values = get_relative_criterion_values( - [model.get_criterion(Criterion.AICC) for model in models] + [model.get_criterion(criterion) for model in models] ) # Sort by criterion value