Mercurial > repos > bgruening > sklearn_clf_metrics
diff clf_metrics.xml @ 10:d147f912b882 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 97c4f22cdcfa6cddeeffc7b102c418a7ff12a888
author | bgruening |
---|---|
date | Tue, 05 Jun 2018 06:47:08 -0400 |
parents | 82f51b60c4ee |
children | 5621f2be9fbc |
line wrap: on
line diff
--- a/clf_metrics.xml Wed May 30 08:26:13 2018 -0400 +++ b/clf_metrics.xml Tue Jun 05 06:47:08 2018 -0400 @@ -27,18 +27,30 @@ params = json.load(open(input_json_path, "r")) header='infer' if params["clf_metrics"].get("header1", None) else None +column_option = params["clf_metrics"]["column_selector_options_1"]["selected_column_selector_option"] +if column_option == "by_index_number": + c = params["clf_metrics"]["column_selector_options_1"]["col1"] +else: + c = None y_t = read_columns( "$clf_metrics.infile1", - "$clf_metrics.col1", + c = c, + c_option = column_option, sep='\t', header=header, parse_dates=True ) header='infer' if params["clf_metrics"].get("header2", None) else None +column_option = params["clf_metrics"]["column_selector_options_2"]["selected_column_selector_option2"] +if column_option == "by_index_number": + c = params["clf_metrics"]["column_selector_options_2"]["col2"] +else: + c = None y_p = read_columns( "$clf_metrics.infile2", - "$clf_metrics.col2", + c = c, + c_option = column_option, sep='\t', header=header, parse_dates=True