|
Crombie Tools
|
Functions | |
| def | LoadEnv (configs) |
| def | LoadModuleFromEnv (EnvVarName) |
Variables | |
| CrombieConfigs | |
| cuts | |
@file LoadConfig.py Defines the CrombieTools.LoadConfig package @author Daniel Abercrombie <dabercro@mit.edu> @package CrombieTools.LoadConfig Package that loads local [configuration files](@ref envconfig) into environment.
| def CrombieTools.LoadConfig.LoadEnv | ( | configs | ) |
Sources bash files and loads the resulting environment into os.environ @param configs is a list of file names that should be searched for. A string for a single configuration file is also accepted.
Definition at line 13 of file LoadConfig.py.
References run.strip.
| def CrombieTools.LoadConfig.LoadModuleFromEnv | ( | EnvVarName | ) |
Loads and returns a python file named in the environment as a module. @param EnvVarName is an environment variable containing the name of a local .py file. @returns the module handler from importing the .py file.
Definition at line 42 of file LoadConfig.py.
References run.strip.
| CrombieTools.LoadConfig.CrombieConfigs |
Definition at line 55 of file LoadConfig.py.
| CrombieTools.LoadConfig.cuts |
Definition at line 60 of file LoadConfig.py.
Referenced by crombie::FileConfig::FileInfo.FileInfo(), crombie::FileConfig::DirectoryInfo.fillfiles(), crombie::Cutflow.SingleFile(), and crombie::Plotter.SingleFile().