From 92d56a9ec0bb2380ae093c721a094c0078e33e7b Mon Sep 17 00:00:00 2001 From: Fridolin Glatter Date: Wed, 27 Nov 2024 09:44:50 +0100 Subject: [PATCH] Only tabulate items for relevant run --- ixmp4/core/optimization/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ixmp4/core/optimization/base.py b/ixmp4/core/optimization/base.py index 89f04292..208435f7 100644 --- a/ixmp4/core/optimization/base.py +++ b/ixmp4/core/optimization/base.py @@ -49,7 +49,7 @@ def list(self, name: str | None = None) -> list[OptimizationModelType]: class Tabulator(OptimizationBaseRepository[OptimizationModelType], abstract.Tabulator): def tabulate(self, name: str | None = None) -> pd.DataFrame: - return self._backend_repository.tabulate(name=name) + return self._backend_repository.tabulate(run_id=self._run.id, name=name) class Enumerator(