Mercurial > repos > bgruening > sklearn_data_preprocess
comparison pre_process.xml @ 21:4dea5a431d45 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit d00173591e4a783a4c1cb2664e4bb192ab5414f7
| author | bgruening |
|---|---|
| date | Fri, 17 Aug 2018 12:22:21 -0400 |
| parents | 928027486e78 |
| children | 792ae8a93b07 |
comparison
equal
deleted
inserted
replaced
| 20:3eb6117ae746 | 21:4dea5a431d45 |
|---|---|
| 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 |
