Mercurial > repos > bgruening > sklearn_generalized_linear
diff generalized_linear.xml @ 4:fd6c50f21cd0 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tools/sklearn commit cea052cf3b8dd4f3620253bd222e126de32e7466
author | bgruening |
---|---|
date | Thu, 22 Mar 2018 13:47:44 -0400 |
parents | 3326dd4f1e8d |
children | 44699d79d908 |
line wrap: on
line diff
--- a/generalized_linear.xml Tue Mar 13 06:32:19 2018 -0400 +++ b/generalized_linear.xml Thu Mar 22 13:47:44 2018 -0400 @@ -33,22 +33,24 @@ options = params["selected_tasks"]["selected_algorithms"]["options"] #if $selected_tasks.selected_algorithms.input_options.selected_input=="tabular": +header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header1"] else None X = read_columns( "$selected_tasks.selected_algorithms.input_options.infile1", "$selected_tasks.selected_algorithms.input_options.col1", sep='\t', - header=None, + header=header, parse_dates=True ) #else: X = mmread(open("$selected_tasks.selected_algorithms.input_options.infile1", 'r')) #end if +header = 'infer' if params["selected_tasks"]["selected_algorithms"]["input_options"]["header2"] else None y = read_columns( "$selected_tasks.selected_algorithms.input_options.infile2", "$selected_tasks.selected_algorithms.input_options.col2", sep='\t', - header=None, + header=header, parse_dates=True )