diff generalized_linear.xml @ 10:44699d79d908 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 97c4f22cdcfa6cddeeffc7b102c418a7ff12a888
author bgruening
date Tue, 05 Jun 2018 06:47:46 -0400
parents fd6c50f21cd0
children 6cf4b82c72bc
line wrap: on
line diff
--- a/generalized_linear.xml	Wed May 30 08:26:49 2018 -0400
+++ b/generalized_linear.xml	Tue Jun 05 06:47:46 2018 -0400
@@ -34,9 +34,15 @@
 
 #if $selected_tasks.selected_algorithms.input_options.selected_input=="tabular":
 header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header1"] else None
+column_option = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_1"]["selected_column_selector_option"]
+if column_option == "by_index_number":
+    c = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_1"]["col1"]
+else:
+    c = None
 X = read_columns(
         "$selected_tasks.selected_algorithms.input_options.infile1",
-        "$selected_tasks.selected_algorithms.input_options.col1",
+        c = c,
+        c_option = column_option,
         sep='\t',
         header=header,
         parse_dates=True
@@ -46,9 +52,15 @@
 #end if
 
 header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header2"] else None
+column_option = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_2"]["selected_column_selector_option2"]
+if column_option == "by_index_number":
+    c = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_2"]["col2"]
+else:
+    c = None
 y = read_columns(
         "$selected_tasks.selected_algorithms.input_options.infile2",
-        "$selected_tasks.selected_algorithms.input_options.col2",
+        c = c,
+        c_option = column_option,
         sep='\t',
         header=header,
         parse_dates=True