comparison ensemble.xml @ 12:a78f96f64939 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit cd4a8b019168acd5a513c57a1b1f380622f230f6
author bgruening
date Sun, 01 Jul 2018 03:19:54 -0400
parents f4d8a82e167c
children 6352834b1c99
comparison
equal deleted inserted replaced
11:f4d8a82e167c 12:a78f96f64939
48 options["min_samples_split"] = int(options["min_samples_split"]) 48 options["min_samples_split"] = int(options["min_samples_split"])
49 input_type = params["selected_tasks"]["selected_algorithms"]["input_options"]["selected_input"] 49 input_type = params["selected_tasks"]["selected_algorithms"]["input_options"]["selected_input"]
50 if input_type=="tabular": 50 if input_type=="tabular":
51 header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header1"] else None 51 header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header1"] else None
52 column_option = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_1"]["selected_column_selector_option"] 52 column_option = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_1"]["selected_column_selector_option"]
53 if column_option in ["by_index_number", "all_but_by_index_number"]: 53 if column_option in ["by_index_number", "all_but_by_index_number", "by_header_name", "all_but_by_header_name"]:
54 c = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_1"]["col1"] 54 c = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_1"]["col1"]
55 else: 55 else:
56 c = None 56 c = None
57 X = read_columns( 57 X = read_columns(
58 "$selected_tasks.selected_algorithms.input_options.infile1", 58 "$selected_tasks.selected_algorithms.input_options.infile1",
65 else: 65 else:
66 X = mmread(open("$selected_tasks.selected_algorithms.input_options.infile1", 'r')) 66 X = mmread(open("$selected_tasks.selected_algorithms.input_options.infile1", 'r'))
67 67
68 header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header2"] else None 68 header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header2"] else None
69 column_option = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_2"]["selected_column_selector_option2"] 69 column_option = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_2"]["selected_column_selector_option2"]
70 if column_option in ["by_index_number", "all_but_by_index_number"]: 70 if column_option in ["by_index_number", "all_but_by_index_number", "by_header_name", "all_but_by_header_name"]:
71 c = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_2"]["col2"] 71 c = params["selected_tasks"]["selected_algorithms"]["input_options"]["column_selector_options_2"]["col2"]
72 else: 72 else:
73 c = None 73 c = None
74 y = read_columns( 74 y = read_columns(
75 "$selected_tasks.selected_algorithms.input_options.infile2", 75 "$selected_tasks.selected_algorithms.input_options.infile2",