in3Utils.cfgUtilsΒΆ
Utilities for handling configuration files
Functions
append simulation configuration to the simulation dataframe only account for sections GENERAL and INPUT |
|
append Tcpu dictionary to the dataframe |
|
UID hash of a config. Given a configParser object cfg, |
|
create dictionary from configparser object |
|
convert a string DF to a numerical one |
|
create configParser object from dict |
|
Read configurations from all simulations configuration ini files from directory |
|
Returns the default configuration for a given module returns a configParser object |
|
Returns the general configuration for avaframe returns a configParser object |
|
Returns the configuration for a given module returns a configParser object |
|
Read allConfigurations.csv file as dataFrame from directory |
|
Read configuration from ini file, if module is provided, module configuration is read from Ouputs, if fileName is provided configuration is read from fileName |
|
Read and optionally compare configuration files (if a local and default are both provided) and inform user of the eventual differences. |
|
Write cfg configuration to allConfigurations.csv |
|
Save configuration used to text file in Outputs/moduleName/configurationFiles/modName.ini or optional to filePath and with fileName |
|
write a dictionary to a json file |