in3Utils.cfgUtils.writeCfgFile¶
- writeCfgFile(avaDir, module, cfg, fileName='', filePath='')[source]¶
Save configuration used to text file in Outputs/moduleName/configurationFiles/modName.ini or optional to filePath and with fileName
- Parameters
avaDir (str) – path to avalanche directory
module – module
cfg (configparser object) – configuration settings
fileName (str) – name of saved configuration file - optional
filePath (str or pathlib path) – path where file should be saved to except file name - optional