diff regression_metrics.xml @ 4:64c87ceb6766 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 64158f357e708f0b60d2669d92d614f7aee34c0e
author bgruening
date Wed, 06 Jun 2018 17:43:54 -0400
parents 8437a2320171
children 8608ee21a49b
line wrap: on
line diff
--- a/regression_metrics.xml	Tue Jun 05 06:47:21 2018 -0400
+++ b/regression_metrics.xml	Wed Jun 06 17:43:54 2018 -0400
@@ -28,7 +28,7 @@
 
 header='infer' if params["regression_metrics"]["header1"] else None
 column_option = params["regression_metrics"]["column_selector_options_1"]["selected_column_selector_option"]
-if column_option == "by_index_number":
+if column_option in ["by_index_number", "all_but_by_index_number"]:
     c = params["regression_metrics"]["column_selector_options_1"]["col1"]
 else:
     c = None
@@ -43,7 +43,7 @@
 
 header='infer' if params["regression_metrics"]["header2"] else None
 column_option = params["regression_metrics"]["column_selector_options_2"]["selected_column_selector_option2"]
-if column_option == "by_index_number":
+if column_option in ["by_index_number", "all_but_by_index_number"]:
     c = params["regression_metrics"]["column_selector_options_2"]["col2"]
 else:
     c = None
@@ -167,7 +167,8 @@
             <param name="selected_metric" value="median_absolute_error"/>
             <param name="infile1" value="regression_test_y.tabular" ftype="tabular"/>
             <param name="header1" value="True"/>
-            <param name="col1" value="1"/>
+            <param name="selected_column_selector_option" value="all_but_by_index_number"/>
+            <param name="col1" value="2"/>
             <param name="infile2" value="regression_test_y.tabular" ftype="tabular"/>
             <param name="header2" value="True"/>
             <param name="col2" value="2"/>
@@ -180,7 +181,8 @@
             <param name="col1" value="1"/>
             <param name="infile2" value="regression_test_y.tabular" ftype="tabular"/>
             <param name="header2" value="True"/>
-            <param name="col2" value="2"/>
+            <param name="selected_column_selector_option2" value="all_but_by_index_number"/>
+            <param name="col2" value="1"/>
             <output name="outfile" file="regression_metrics_result06"/>
         </test>
     </tests>