quemb.shared.configΒΆ
Configure quemb
One can modify settings in one session or create an RC-file. See examples below.
Examples
>>> from quemb.shared.config import settings
>>>
>>> settings.SCRATCH_ROOT = "/scratch"
Changes the default root for the scratch directory
for this python session.
>>> from quemb.shared.config import dump_settings
>>>
>>> dump_settings()
Creates ~/.quembrc.yml file that allows changes to persist.
To specify the print level, do
>>> import logging
>>> logger = logging.getLogger()
>>> logger.setLevel(logging.DEBUG)
in your input file. Currently the options are DEBUG or INFO.
For more information on how logging works, see
https://docs.python.org/3/howto/logging.html
Functions
Writes settings to |
Classes
|