Skip to content

Commit d7d8193

Browse files
committed
#422: add warning for when viz is enabled but vttv not found
1 parent 0c2d82c commit d7d8193

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lbaf/Applications/LBAF_app.py

+5
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ def init_parameters(self, config: dict, base_dir: str):
118118

119119
# Parse visualizer parameters when available
120120
if (viz := config.get("visualization")) is not None:
121+
122+
# Ensure that vttv module was found
123+
if not using_vttv:
124+
self.__logger.warning("Visualization enabled but vttv not found. No visualization will be generated.")
125+
121126
# Retrieve mandatory visualization parameters
122127
try:
123128
self.grid_size = []

0 commit comments

Comments
 (0)