From f43e4a537786fbe5030d9ac8a247a645d0ac14cc Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Wed, 18 Oct 2023 16:05:29 -0400 Subject: [PATCH] #469: replace instances of LBAF_Viz throughout code --- src/lbaf/Applications/LBAF_app.py | 4 ++-- src/lbaf/IO/lbsConfigurationValidator.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lbaf/Applications/LBAF_app.py b/src/lbaf/Applications/LBAF_app.py index 6673f9679..4ead5f9b7 100644 --- a/src/lbaf/Applications/LBAF_app.py +++ b/src/lbaf/Applications/LBAF_app.py @@ -112,7 +112,7 @@ def init_parameters(self, config: dict, base_dir: str): self.volume_sampler = from_samplers.get("volume_sampler") # Parse visualizer parameters when available - if (viz := config.get("LBAF_Viz")) is not None: + if (viz := config.get("visualization")) is not None: # Retrieve mandatory visualization parameters try: self.grid_size = [] @@ -123,7 +123,7 @@ def init_parameters(self, config: dict, base_dir: str): self.object_qoi = viz.get("object_qoi") except Exception as e: self.__logger.error( - f"Missing LBAF-Viz configuration parameter(s): {e}") + f"Missing visualization configuration parameter(s): {e}") raise SystemExit(1) from e # Retrieve optional parameters diff --git a/src/lbaf/IO/lbsConfigurationValidator.py b/src/lbaf/IO/lbsConfigurationValidator.py index 7aa8fc619..c512e35e9 100644 --- a/src/lbaf/IO/lbsConfigurationValidator.py +++ b/src/lbaf/IO/lbsConfigurationValidator.py @@ -198,7 +198,7 @@ def allowed_keys(group: bool = False) -> Union[List[str], Dict[str, List[str]]] "output": [ "logging_level", "log_to_file", "overwrite_validator", "terminal_background", "generate_multimedia", "output_dir", "output_file_stem", - "LBAF_Viz", "write_JSON" + "visualization", "write_JSON" ] }