pad_missing_format_keys
- PlasmaCalcs.tools.pytools.pad_missing_format_keys(s, keys)
return s (a format string) with all missing keys padded with extra {}.
E.g. (‘{present} and {missing}’, [‘present’]) –> ‘{present} and {{missing}}’keys: iterable of keys. (dict is also acceptable.)