Mercurial > repos > bgruening > sklearn_data_preprocess
comparison pre_process.xml @ 19:f196d4715cfb draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit d00173591e4a783a4c1cb2664e4bb192ab5414f7
author | bgruening |
---|---|
date | Fri, 17 Aug 2018 12:28:58 -0400 |
parents | dad38f036e83 |
children | f156acc7239b |
comparison
equal
deleted
inserted
replaced
18:a886cf4c8392 | 19:f196d4715cfb |
---|---|
17 <![CDATA[ | 17 <![CDATA[ |
18 import sys | 18 import sys |
19 import json | 19 import json |
20 import pandas | 20 import pandas |
21 import pickle | 21 import pickle |
22 import numpy as np | |
23 from scipy.io import mmread | 22 from scipy.io import mmread |
24 from scipy.io import mmwrite | 23 from scipy.io import mmwrite |
25 from sklearn import preprocessing | 24 from sklearn import preprocessing |
26 | 25 |
27 @COLUMNS_FUNCTION@ | 26 execfile("$__tool_directory__/utils.py") |
28 | 27 |
29 input_json_path = sys.argv[1] | 28 input_json_path = sys.argv[1] |
30 with open(input_json_path, "r") as param_handler: | 29 with open(input_json_path, "r") as param_handler: |
31 params = json.load(param_handler) | 30 params = json.load(param_handler) |
32 | 31 |