hexrd.config.config module
Base Config class
- class hexrd.config.config.Config(cfg)[source]
Bases:
objectAccess a level of the YAML configuration file
PARAMETERS
- cfg: Config instance or a (pyyaml) YAMLObject
config representings a level of the YAML input
- static check_filename(fname, wdir)[source]
Check whether filename is valid relative to working directory
fname - the name of the file
Returns the absolute path of the filename if the file exists
If fname is an absolute path, use that; otherwise take it as a path relative to the working directory.
- property dirty
- property parent
Parent Config file or None for root (top) level