validate#

Configurations.validate(config)[source]#
Validate a configuration file against the schema. The default schema

can be found in pyaedt/misc/config.schema.json.

Parameters:
configstr, dict

Configuration as a JSON file or dictionary.

Returns:
bool

True if the configuration file is valid, False otherwise. If the validation fails, a warning is also written to the logger.