comparison model_validation.xml @ 5:510aa2ce035e 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:23 -0400
parents 60b8a683ba99
children fd7a054ffdbd
comparison
equal deleted inserted replaced
4:60b8a683ba99 5:510aa2ce035e
34 34
35 input_type = params["input_options"]["selected_input"] 35 input_type = params["input_options"]["selected_input"]
36 if input_type=="tabular": 36 if input_type=="tabular":
37 header = 'infer' if params["input_options"]["header1"] else None 37 header = 'infer' if params["input_options"]["header1"] else None
38 column_option = params["input_options"]["column_selector_options_1"]["selected_column_selector_option"] 38 column_option = params["input_options"]["column_selector_options_1"]["selected_column_selector_option"]
39 if column_option in ["by_index_number", "all_but_by_index_number"]: 39 if column_option in ["by_index_number", "all_but_by_index_number", "by_header_name", "all_but_by_header_name"]:
40 c = params["input_options"]["column_selector_options_1"]["col1"] 40 c = params["input_options"]["column_selector_options_1"]["col1"]
41 else: 41 else:
42 c = None 42 c = None
43 X = read_columns( 43 X = read_columns(
44 "$input_options.infile1", 44 "$input_options.infile1",
51 else: 51 else:
52 X = mmread(open("$input_options.infile1", 'r')) 52 X = mmread(open("$input_options.infile1", 'r'))
53 53
54 header = 'infer' if params["input_options"]["header2"] else None 54 header = 'infer' if params["input_options"]["header2"] else None
55 column_option = params["input_options"]["column_selector_options_2"]["selected_column_selector_option2"] 55 column_option = params["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["input_options"]["column_selector_options_2"]["col2"] 57 c = params["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 "$input_options.infile2", 61 "$input_options.infile2",