Hi all,
I'm trying to wrap a tool where there is an optional+multiple param declared as:
<command>
(...)
#if $input_intervals :
#for $idx, $rgn in enumerate( $input_intervals ):
-B "${rgn}"
#end for
#end if
(...)
</command>
(...)
<inputs>
<param name="input_intervals" optional="true" multiple="true" type="data" format="bed,picard_interval_list,vcf" label="Regions"/>
(...)
I leave the param empty, and I get an error:
'DatasetListWrapper' object has no attribute 'value'
if I remove the test : #if $input_intervals :
, then the tool is launched but galaxy creates a "None"
-B None
current status :
writing a simple tool for #usegalaxy
— Pierre Lindenbaum (@yokofakun) October 7, 2016
crying. pic.twitter.com/U1bu80sJsM
:-P
Note: the
<param>
xml and the cheetah code are in fact inserted with a macro.xml.