The protocol file includes a couple of instances of ON and OFF that are intended as literal string values. The formatter strips quotes from strings without spaces as it is not required in YAML. However, in YAML, the ON and OFF values are also aliases for true and false and so the formatter standardizes these values to true and false. The file is excluded from the formatter for that reason.
@bosonie Thanks for testing. This should fix this problem, but since I cannot test CP2K I cannot be sure it caught everything. It would be great if you could give this another spin.
Fixes #336
The protocol file includes a couple of instances of
ON
andOFF
that are intended as literal string values. The formatter strips quotes from strings without spaces as it is not required in YAML. However, in YAML, theON
andOFF
values are also aliases fortrue
andfalse
and so the formatter standardizes these values totrue
andfalse
. The file is excluded from the formatter for that reason.