diff --git a/protzilla/run.py b/protzilla/run.py index 978ef740..0b437bb4 100644 --- a/protzilla/run.py +++ b/protzilla/run.py @@ -187,6 +187,10 @@ def current_plots(self) -> Plots | None: @property def current_outputs(self) -> Output: return self.steps.current_step.output + + @property + def current_filtered_data(self) -> dict: + return self.steps.current_step.filtered_datatable @property def current_step(self) -> Step | None: diff --git a/protzilla/steps.py b/protzilla/steps.py index 9448d26e..166a19fa 100644 --- a/protzilla/steps.py +++ b/protzilla/steps.py @@ -36,6 +36,7 @@ def __init__(self, instance_identifier: str | None = None): self.form_inputs: dict = {} self.inputs: dict = {} self.output: Output = Output() + self.filtered_datatable: dict = {} self.plots: Plots = Plots() self.messages: Messages = Messages([]) self.instance_identifier = instance_identifier diff --git a/ui/runs/templates/runs/tables.html b/ui/runs/templates/runs/tables.html index 4d8ecd4e..c4365904 100644 --- a/ui/runs/templates/runs/tables.html +++ b/ui/runs/templates/runs/tables.html @@ -9,42 +9,11 @@ {% block js %} + + {% endblock %} @@ -52,22 +21,46 @@
Index {{ index|add:1 }}, Section {{ section }}, step {{ step }}, method {{ method }}
-