Dear list,
I am trying to write a test with a param type "select" and options "from_file".
I have the following param section in the wrapper:
<!-- Database Choice -->
<param name="ref_file" type="select" label="Using reference database" help="Select reference from the list">
<options from_file="frogs_db.loc">
<column name="name" index="0"/>
<column name="value" index="1"/>
</options>
</param>
And I wrote the following test section:
<test>
...
<param name="ref_file" value="db.fasta"/>
</test>
The planemo test command failed with the following message:
RunToolException: Error creating a job for these tool inputs - Parameter ref_file requires a value, but has no legal values defined.
but it seems to work with <options from_data_table>.
Have you any test example working with <options from_file> ?
Thanks for your help.
Olivier