Skip to content

Commit

Permalink
#469: replace instances of LBAF_Viz throughout code
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly committed Oct 18, 2023
1 parent 70e0658 commit f43e4a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lbaf/Applications/LBAF_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lbaf/IO/lbsConfigurationValidator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}

Expand Down

0 comments on commit f43e4a5

Please sign in to comment.