parse_conf_file

mastml.conf_parser.parse_conf_file(filepath, from_dict=False)[source]

Method that accepts the filepath of an input configuration file and returns its parsed dictionary

Args:
filepath: (str), path to config file, or a dict of config values directly
Returns:
conf: (dict): dictionary parsed from config file