|
echo -n "" > ../workflow/ligand-collections/current/${VF_QUEUE_NO} |
There is an error in the above line. "Empty" gets saved to ../workflow/ligand-collection/current/${VF_QUEUE_NO}, which is not getting checked by template1.slurm.sh (and probably others, too). Instead, the actually existing file still contains a collection, which is why a new job is getting submitted - doing nothing.
This line should get replaced with:
echo -n "" > ../workflow/ligand-collections/current/${VF_QUEUE_NO_1}/${VF_QUEUE_NO_2}/${VF_QUEUE_NO}