Skip to content

Add features to conf_parser for ini finding. #91

@stephenlienharrell

Description

@stephenlienharrell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions