Rerunning controller.prepare_qe multiple times appends duplicate commands to the qe.slurm files written, even if the files are deleted between function calls.
It also appears that, when multiple versions of qe.slurm are written, each new script contains duplicate commands from the previous scripts, leading to duplication of commands/errors even from a single call of controller.prepare_qe.
Rerunning
controller.prepare_qe
multiple times appends duplicate commands to theqe.slurm
files written, even if the files are deleted between function calls.It also appears that, when multiple versions of
qe.slurm
are written, each new script contains duplicate commands from the previous scripts, leading to duplication of commands/errors even from a single call ofcontroller.prepare_qe
.