pwtools.batch.default_repl_keys

pwtools.batch.default_repl_keys()[source]

Return a dict of default keys for replacement in a ParameterStudy. Each key will in practice be processed by FileTemplate, such that e.g. the key ‘foo’ becomes the placeholder ‘XXXFOO’.

Each of these placeholders can be used in any parameter study in any file template, indenpendent from params_lst to ParameterStudy.

Notes

If this function is called, dummy files are written to a temp dir, the datsbase is read, and the file are deleted.