Mercurial > repos > bgruening > sklearn_ensemble
comparison ensemble.xml @ 11:f4d8a82e167c draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 64158f357e708f0b60d2669d92d614f7aee34c0e
author | bgruening |
---|---|
date | Wed, 06 Jun 2018 17:42:54 -0400 |
parents | cd595710f0c0 |
children | a78f96f64939 |
comparison
equal
deleted
inserted
replaced
10:cd595710f0c0 | 11:f4d8a82e167c |
---|---|
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 == "by_index_number": | 53 if column_option in ["by_index_number", "all_but_by_index_number"]: |
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 == "by_index_number": | 70 if column_option in ["by_index_number", "all_but_by_index_number"]: |
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", |