FilenameTemplator
- class ase2sprkkr.sprkkr.calculator.FilenameTemplator(calculator)[source]
Class that replaces the placeholders in filenames with propper values, see the replacements property of the class. The used values are remembered so all the processed filenames use the same value (e.g. counter, datetime etc…)
Class hierarchy
Constructor
- replacements = {'%a': <function FilenameTemplator.<lambda>>, '%c': <function FilenameTemplator.<lambda>>, '%d': <function FilenameTemplator.<lambda>>, '%t': <function FilenameTemplator.<lambda>>}