We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11cd6d3 commit fdaee6eCopy full SHA for fdaee6e
src/hpc_multibench/tui/interactive_ui.py
@@ -421,7 +421,12 @@ def get_plot_model(
421
*self.current_test_bench.bench_model.analysis.bar_charts,
422
*self.current_test_bench.bench_model.analysis.roofline_plots,
423
]
424
- return all_plot_models[self.current_plot_index % len(all_plot_models)]
+ enabled_plot_models = [
425
+ plot_model for plot_model in all_plot_models if plot_model.enabled
426
+ ]
427
+ if len(enabled_plot_models) == 0:
428
+ return None
429
+ return enabled_plot_models[self.current_plot_index % len(enabled_plot_models)]
430
431
def action_reload_test_plan(self) -> None:
432
"""Reload the test plan for the user interface."""
0 commit comments