comparison sampler.xml @ 1:80f5b5db4bb0 draft

planemo upload for repository https://github.com/brsynth/icfree-ml commit 13e7cacbe8d65c6e798625de6bba986e89def461
author tduigou
date Mon, 06 Mar 2023 14:26:48 +0000
parents a71884785dcc
children d919d5c6f458
comparison
equal deleted inserted replaced
0:a71884785dcc 1:80f5b5db4bb0
9 #set ratios = [] 9 #set ratios = []
10 #for $x in $adv.rep 10 #for $x in $adv.rep
11 #silent ratios.append($x.ratio) 11 #silent ratios.append($x.ratio)
12 #end for 12 #end for
13 #set sratios = ' '.join($ratios) 13 #set sratios = ' '.join($ratios)
14 echo "${sratios}" &&
15 python -m icfree.sampler 14 python -m icfree.sampler
16 '$cfps_file' 15 '$cfps_file'
17 #if len(ratios) >0 16 #if len(ratios) > 0
18 --sampling-ratios "${sratios}" 17 --sampling-ratios "${sratios}"
19 #end if 18 #end if
20 --nb-sampling-steps '$adv.nb_sampling_steps' 19 --nb-sampling-steps '$adv.nb_sampling_steps'
21 --nb-samples '$adv.nb_samples' 20 --nb-samples '$adv.nb_samples'
22 --seed '0' 21 --seed '0'
24 --output-folder . && ls 23 --output-folder . && ls
25 ]]></command> 24 ]]></command>
26 <inputs> 25 <inputs>
27 <param name="cfps_file" type="data" format="tabular" label="CFPS parameters and features" /> 26 <param name="cfps_file" type="data" format="tabular" label="CFPS parameters and features" />
28 <section name="adv" title="Advanced Options" expanded="false"> 27 <section name="adv" title="Advanced Options" expanded="false">
29 <param argument="nb_sampling_steps" type="integer" value="5" min="1" max="10" label="Number of values for all factors when performing the sampling" /> 28 <param name="nb_sampling_steps" type="integer" value="5" min="1" max="10" label="Number of values for all factors when performing the sampling" />
30 <param argument="nb_samples" type="integer" value="99" min="1" max="198" label="Number of samples to generate" /> 29 <param name="nb_samples" type="integer" value="99" min="1" max="198" label="Number of samples to generate" />
31 <repeat name="rep" title="Sampling ratios" min="0"> 30 <repeat name="rep" title="Sampling ratio" min="0">
32 <param name="ratio" type="float" value="0.1" min="0.0" max="1.0" label="Ratio associated to each factor" /> 31 <param name="ratio" type="float" value="0.1" min="0.0" max="1.0" label="Ratio associated to each factor" />
33 </repeat> 32 </repeat>
34 </section> 33 </section>
35 </inputs> 34 </inputs>
36 <outputs> 35 <outputs>