full_format_for_string

Full name: ase2sprkkr.sprkkr.test.formats.full_format_for_string

ase2sprkkr.sprkkr.test.formats.full_format_for_string(format)[source]

Return a format string derived from the given format, that suits for string.

>>> full_format_for_string('Cokoli {>14} tu')
'Cokoli {>14} tu'
>>> full_format_for_string('Remove{>14e}here')
'Remove{>14}here'
>>> full_format_for_string('{>14g}')
'{>14}'