check_mandatory_toml_keys#
- skysim.settings.check_mandatory_toml_keys(dictionary)[source]#
Validate the existence of the required keys in the TOML configuration.
- Parameters:
- dictionary
TOMLConfig Loaded user configuration.
- dictionary
- Raises:
ValueError- Raised if:
mandatory keys aren’t present
keys that require at least one of some group aren’t present
keys that are required in sets are not property provided