tlpipe.kiyopy.parse_ini.parse_dict¶
-
tlpipe.kiyopy.parse_ini.
parse_dict
(dict_to_parse, params, return_undeclared=False, prefix='', feedback=2, type_check=False)[source]¶ Same as parse_ini.parse except parameters read from only dictionary.
This function is intended for internal use. All of it’s functionality is availble from the parse function.
This function accepts an input dictionary and a dictionary of keys and pre typed values. It returns a dictionary of the same keys with values read from the input dictionary. See the docstring for parse for more information, the only difference is the first argument must be a dictionary.
Parameters: dict_to_parse (dict) – A dictionary containing keys and values to be read as parameters. Entries should have keys and types corresponding to the pars dictionary argument (depending on level of checking requested).