load_user_preferences

Full name: ase2sprkkr.configuration.load_user_preferences

ase2sprkkr.configuration.load_user_preferences()[source]

Load the Python hook and then overlay config.yaml if present.

Invalid YAML values are recovered individually. An unreadable YAML document cannot be recovered, so its values are skipped with a warning and the original file is kept unchanged. Unexpected loader and Python-hook exceptions still propagate.