Skip to content

Commit

Permalink
#422: add warning for when viz is enabled but vttv not found
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly committed May 16, 2024
1 parent 0c2d82c commit d7d8193
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lbaf/Applications/LBAF_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit d7d8193

Please sign in to comment.