print_simple_dict¶
- rubin_sim.maf.utils.print_simple_dict(topdict, subkeyorder, filehandle=None, delimiter=' ')¶
Print a simple one-level nested dictionary nicely across the screen, with one line per top-level key and all sub-level keys aligned.
- Parameters:
- topdictdict
The dictionary to pretty print
- subkeyorderlist of strings
The order to print the values of the dictionary.
- filehandlefile
File output object, if None then uses stdout.
- delimiterstr
User specified delimiter between fields.