in3Utils.cfgHandling.rewriteLocalCfgs
- rewriteLocalCfgs(cfgFull, avalancheDir, localCfgPath='')[source]
fetch all override sections in cfgFull and write a local_NAMEOVERRIDE.ini configuration file for the available sections - naming is collection_module_override if no localCfgPath is provided, default saved to avalancheDir/Inputs/configurationOverrides where package refers to e.g. ana1Tests, ana3AIMEC, etc- and module to e.g. energyLineTest.py, ana3AIMEC.py so all python files inside the packages that have a nameCfg.ini file too
- cfgFull: configparser
configuration with override sections for modules