comparison clf_metrics.xml @ 7:82f51b60c4ee draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 2e1e78576b38110cf5b1f2ed83b08b9c3a6cbfee
author bgruening
date Sat, 28 Apr 2018 18:09:19 -0400
parents 504ea7ea42b1
children d147f912b882
comparison
equal deleted inserted replaced
6:961e9696f3d8 7:82f51b60c4ee
24 @COLUMNS_FUNCTION@ 24 @COLUMNS_FUNCTION@
25 25
26 input_json_path = sys.argv[1] 26 input_json_path = sys.argv[1]
27 params = json.load(open(input_json_path, "r")) 27 params = json.load(open(input_json_path, "r"))
28 28
29 29 header='infer' if params["clf_metrics"].get("header1", None) else None
30 y_t = read_columns( 30 y_t = read_columns(
31 "$clf_metrics.infile1", 31 "$clf_metrics.infile1",
32 "$clf_metrics.col1", 32 "$clf_metrics.col1",
33 sep='\t', 33 sep='\t',
34 header=None, 34 header=header,
35 parse_dates=True 35 parse_dates=True
36 ) 36 )
37
38 header='infer' if params["clf_metrics"].get("header2", None) else None
37 y_p = read_columns( 39 y_p = read_columns(
38 "$clf_metrics.infile2", 40 "$clf_metrics.infile2",
39 "$clf_metrics.col2", 41 "$clf_metrics.col2",
40 sep='\t', 42 sep='\t',
41 header=None, 43 header=header,
42 parse_dates=True 44 parse_dates=True
43 ) 45 )
44 46
45 options = params["clf_metrics"].get("options", {}) 47 options = params["clf_metrics"].get("options", {})
46 print(options) 48 print(options)