Scripting pipelines with more than one input file | eva pujadas | 2016-10-04 08:51 | |||||||||||||||
Status: Closed | |||||||||||||||||
Dear LabKey supporters, Is it possible to specify more than one input file when defining a task? E.g.: <task xmlns="http://labkey.org/pipeline/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ScriptTaskType" name="HelloWorld" version="1.0"> <description>Simple Hello World R task</description> <inputs> <file name="input.csv" required="true" /> <file name="input2.csv" required="true" /> </inputs> <script file="HelloWorld.R"/> </task> How would then the both input files be read from the called script "HelloWorld.R"? I've tried it, and using ${input.csv} and ${input2.csv} does not work. It reports the error message that the file does not exist. Thank you very much, Eva |
|||||||||||||||||
| |||||||||||||||||