Skip to content

Commit

Permalink
Only tabulate items for relevant run
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 committed Nov 27, 2024
1 parent 0c7af6b commit 92d56a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ixmp4/core/optimization/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 92d56a9

Please sign in to comment.