diff numeric_clustering.xml @ 23:9d234733ccfd draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 57f4407e278a615f47a377a3328782b1d8e0b54d
author bgruening
date Sun, 30 Dec 2018 01:55:30 -0500
parents 1d6d938e7ee2
children abb5a3f256e3
line wrap: on
line diff
--- a/numeric_clustering.xml	Thu Oct 11 03:33:22 2018 -0400
+++ b/numeric_clustering.xml	Sun Dec 30 01:55:30 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"/>