comparison model_validation.xml @ 4:60b8a683ba99 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 64158f357e708f0b60d2669d92d614f7aee34c0e
author bgruening
date Wed, 06 Jun 2018 17:44:36 -0400
parents 424d8d21744d
children 510aa2ce035e
comparison
equal deleted inserted replaced
3:424d8d21744d 4:60b8a683ba99
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 == "by_index_number": 39 if column_option in ["by_index_number", "all_but_by_index_number"]:
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 == "by_index_number": 56 if column_option in ["by_index_number", "all_but_by_index_number"]:
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",