On Tue, Apr 22, 2014 at 3:02 PM, Ulf Schaefer <Ulf.Schaefer@phe.gov.uk> wrote:
Dear all
I am using this control to allow the user to input multiple files:
<param name="input_vcfs" type="data" multiple="true" format="vcf" label="Input VCF file(s)" />
and I am using this for loop in the cheetah code to access the control: <command interpreter="bash"> script.sh ... #for $i, $input_vcf in enumerate( $input_vcfs ): "${input_vcf}", #end for </command>
The $i and enumerate seem unnecessary here.
It appears that when a user selects many files (25 in this case) the bash command in the command tag never gets executed. Therefore the job is never queued. The history item shows 'Waiting to run' indefinitely. Calling the script.sh manually with 25 input files works fine.
Any hint as to how to debug this would be greatly appreciated.
Thanks a lot Ulf
Can you see anything in the log about the job, and in particular the command line it would attempt to run? Peter