restart file incorrect when ibrav=-12
I have noticed that using ibrav=-12 is not correctly saved in the xml file, which finally produces dynamical matrix files that are not usable.
A pw.x input file with ibrav=-12 will produce an xml schema file with bravais_index="12", i.e. the minus sign is lost. I do not know if this is intentional. Notice that ibrav=12 takes celldm1..4 while ibrav=-12 takes celldm1..3 and celldm5.
When reading the xml file, phonon somehow manages to produce the same unit cell as pw.x, however it clearly states in output that ibrav is now positive 12
However, in the final dynamical matrix file, only celldm1..3 are non-zero, this causes q2r to produce the wrong cell axis and complain about "q not allowed".
You can find input, output, final dyn file and pseudos attached