My setup
python3.9, install from conda-forge::cp2k-input-tools which seems to have 0.8.2 version. (Is this supported? I don't see a conda install option in this repo's install instructions, but conda-forge's instructions have it ). The CP2K that was able to run (thus verify) all the files I mentioned here is a 2025.1 container.
Current behaviour
-
I get an error Can't trigger event quote_char from state comment! if I try to parse this file. The reason is not immediately clear to me. The file was successfully run by CP2K 2025.1 container, so I think it is a fully valid input file.
-
I was getting another error from this file. I was able to fix it by changing ABSOLUTE_POSITION to ABSOLUTE_POSITION T.
Here is the script to reproduce both errors.
Desired behaviour
- No error
- Also no error, but here the reason is more clear: the official docs say it's possible to use a lone keyword to set this flag to
T, but the parser does not know this and always expects an argument T/F
My setup
python3.9, install fromconda-forge::cp2k-input-toolswhich seems to have 0.8.2 version. (Is this supported? I don't see a conda install option in this repo's install instructions, but conda-forge's instructions have it ). The CP2K that was able to run (thus verify) all the files I mentioned here is a 2025.1 container.Current behaviour
I get an error
Can't trigger event quote_char from state comment!if I try to parse this file. The reason is not immediately clear to me. The file was successfully run by CP2K 2025.1 container, so I think it is a fully valid input file.I was getting another error from this file. I was able to fix it by changing
ABSOLUTE_POSITIONtoABSOLUTE_POSITION T.Here is the script to reproduce both errors.
Desired behaviour
T, but the parser does not know this and always expects an argumentT/F