comparison generalized_linear.xml @ 12:513405ebad8b draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit cd4a8b019168acd5a513c57a1b1f380622f230f6
author bgruening
date Sun, 01 Jul 2018 03:21:11 -0400
parents 6cf4b82c72bc
children cf635edf37d2
comparison
equal deleted inserted replaced
11:6cf4b82c72bc 12:513405ebad8b
33 options = params["selected_tasks"]["selected_algorithms"]["options"] 33 options = params["selected_tasks"]["selected_algorithms"]["options"]
34 34
35 #if $selected_tasks.selected_algorithms.input_options.selected_input=="tabular": 35 #if $selected_tasks.selected_algorithms.input_options.selected_input=="tabular":
36 header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header1"] else None 36 header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header1"] else None
37 column_option = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_1"]["selected_column_selector_option"] 37 column_option = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_1"]["selected_column_selector_option"]
38 if column_option in ["by_index_number", "all_but_by_index_number"]: 38 if column_option in ["by_index_number", "all_but_by_index_number", "by_header_name", "all_but_by_header_name"]:
39 c = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_1"]["col1"] 39 c = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_1"]["col1"]
40 else: 40 else:
41 c = None 41 c = None
42 X = read_columns( 42 X = read_columns(
43 "$selected_tasks.selected_algorithms.input_options.infile1", 43 "$selected_tasks.selected_algorithms.input_options.infile1",
51 X = mmread(open("$selected_tasks.selected_algorithms.input_options.infile1", 'r')) 51 X = mmread(open("$selected_tasks.selected_algorithms.input_options.infile1", 'r'))
52 #end if 52 #end if
53 53
54 header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header2"] else None 54 header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header2"] else None
55 column_option = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_2"]["selected_column_selector_option2"] 55 column_option = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_2"]["selected_column_selector_option2"]
56 if column_option in ["by_index_number", "all_but_by_index_number"]: 56 if column_option in ["by_index_number", "all_but_by_index_number", "by_header_name", "all_but_by_header_name"]:
57 c = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_2"]["col2"] 57 c = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_2"]["col2"]
58 else: 58 else:
59 c = None 59 c = None
60 y = read_columns( 60 y = read_columns(
61 "$selected_tasks.selected_algorithms.input_options.infile2", 61 "$selected_tasks.selected_algorithms.input_options.infile2",