topostats.validation#

Validation of configuration.

Attributes#

Functions#

validate_config(→ None)

Validate configuration.

Module Contents#

topostats.validation.LOGGER#
topostats.validation.validate_config(config: dict, schema: schema.Schema, config_type: str) None[source]#

Validate configuration.

Parameters:
  • config (dict) – Config dictionary imported by read_yaml() and parsed through clean_config().

  • schema (Schema) – A schema against which the configuration is to be compared.

  • config_type (str) – Description of of configuration being validated.

topostats.validation.DEFAULT_CONFIG_SCHEMA#
topostats.validation.PLOTTING_SCHEMA#
topostats.validation.SUMMARY_SCHEMA#