# HG changeset patch # User iuc # Date 1649493221 0 # Node ID c4e9b631b0d81819ffa5f63bd918009db3d7bf1d # Parent 0119c30a00e9dbab0a83e42a3f58641bc7fb37ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsnp commit 9e9e1db5b9ca53d690ed795aab1e7437f0a1c864" diff -r 0119c30a00e9 -r c4e9b631b0d8 vsnp_get_snps.xml --- a/vsnp_get_snps.xml Mon Dec 06 18:24:17 2021 +0000 +++ b/vsnp_get_snps.xml Sat Apr 09 08:33:41 2022 +0000 @@ -1,4 +1,4 @@ - + macros.xml @@ -48,16 +48,8 @@ #end if #if str($input_excel_cond.input_excel_param) == 'yes': #if str($input_excel_cond.excel_source_cond.excel_source) == 'cached': - #set excel_file = 'No genome specified for input VCF (database) file(s)' - #set excel_fields = $__app__.tool_data_tables['vsnp_excel'].get_fields() - ## The value of excel_fields is a nested list that looks like this. - ## [['AF2122', 'Mbovis_define_filter.xlsx', '~/tool-data/vsnp/AF2122/excel/Mbovis_define_filter.xlsx', 'Excel file for AF2122'],...] - #for $i in $excel_fields: - #if str($i[0]) == $dbkey: - #set excel_file = $i[2] - #break - #end if - #end for + ## The selected Excel filter must be associated with the dbkey value defined above. + #set excel_file = $input_excel_cond.excel_source_cond.input_excel.fields.path #else: #set excel_file = $input_excel_cond.excel_source_cond.input_excel #end if @@ -118,7 +110,7 @@ - +