diff numeric_clustering.xml @ 29:c156b85a6389 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 57f4407e278a615f47a377a3328782b1d8e0b54d
author bgruening
date Sun, 30 Dec 2018 01:39:27 -0500
parents a62c8c1f2ef7
children 60d80322e1e9
line wrap: on
line diff
--- a/numeric_clustering.xml	Thu Oct 11 03:21:48 2018 -0400
+++ b/numeric_clustering.xml	Sun Dec 30 01:39:27 2018 -0500
@@ -35,6 +35,8 @@
 options = params["input_types"]["algorithm_options"]["options"]
 
 cluster_object.set_params(**options)
+if 'n_jobs' in cluster_object.get_params():
+    cluster_object.set_params( n_jobs=N_JOBS )
 
 #if $input_types.selected_input_type == "sparse":
 data_matrix = mmread("$infile")
@@ -162,6 +164,7 @@
                                 <option value="ward" selected="true">ward</option>
                                 <option value="complete">complete</option>
                                 <option value="average">average</option>
+                                <option value="single">single</option>
                             </param>
                             <!--param argument="pooling_func"-->
                         </section>
@@ -283,7 +286,7 @@
             <param name="n_clusters" value="4"/>
             <param name="assign_labels" value="discretize"/>
             <param name="random_state" value="100"/>
-            <output name="outfile" file="cluster_result12" compare="sim_size" />
+            <output name="outfile" file="cluster_result12.txt" compare="sim_size" />
         </test>
         <test>
             <param name="infile" value="numeric_values.tabular" ftype="tabular"/>