From d7d819329eb649c2b60402a8e694bc38ad3a85a1 Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Thu, 16 May 2024 16:42:11 -0400 Subject: [PATCH] #422: add warning for when viz is enabled but vttv not found --- src/lbaf/Applications/LBAF_app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lbaf/Applications/LBAF_app.py b/src/lbaf/Applications/LBAF_app.py index ed143a5f2..d1613af03 100644 --- a/src/lbaf/Applications/LBAF_app.py +++ b/src/lbaf/Applications/LBAF_app.py @@ -118,6 +118,11 @@ def init_parameters(self, config: dict, base_dir: str): # Parse visualizer parameters when available if (viz := config.get("visualization")) is not None: + + # Ensure that vttv module was found + if not using_vttv: + self.__logger.warning("Visualization enabled but vttv not found. No visualization will be generated.") + # Retrieve mandatory visualization parameters try: self.grid_size = []