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.
Looking at the planemo documentation I saw the entry "test index (.loc) data": http://planemo.readthedocs.io/en/latest/writing_how_do_i.html#test-index-loc... 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
Olivier INIZAN olivier.inizan@inra.frmailto:olivier.inizan@inra.fr Unité Mathématiques & Informatique Appliquées du Génome à l'Environnement Plateforme bioinformatique Migale Bâtiment 233 Domaine de Vilvert 78352 Jouy-en-Josas