HPCPerfStats icon indicating copy to clipboard operation
HPCPerfStats copied to clipboard

Add features to conf_parser for ini finding.

Open stephenlienharrell opened this issue 8 months ago • 0 comments

Add -c flag to overwrite the fully qualified path of the ini to load in conf_parser

Add -w flag to write out the location of the new ini to a known place, lets try something like hpcperfstats/.default_ini

The file should be a text file with an absolute path to the ini.

In the code here:

Append your local repository path here:

cfg.read('/home/hpcperfstats/hpcperfstats.ini')

Change to read the -c flag, if its empty, read the intermediate file, and find the ini, then load it. If it is not found, add an error "ini not found" or something similar

if the -c and -w flag are both there, write out a new hpcperfstats/.default_ini with the -c flag location. Then load and proceed as normal.

stephenlienharrell avatar Mar 31 '25 14:03 stephenlienharrell