Mercurial > repos > bgruening > sklearn_feature_selection
comparison feature_selection.xml @ 15:3232ad8fee41 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 2a058459e6daf0486871f93845f00fdb4a4eaca1
| author | bgruening |
|---|---|
| date | Sat, 29 Sep 2018 07:19:58 -0400 |
| parents | 93428e8fdab2 |
| children | cc5b841f040b |
comparison
equal
deleted
inserted
replaced
| 14:93428e8fdab2 | 15:3232ad8fee41 |
|---|---|
| 19 import os | 19 import os |
| 20 import json | 20 import json |
| 21 import pandas | 21 import pandas |
| 22 import sklearn.feature_selection | 22 import sklearn.feature_selection |
| 23 | 23 |
| 24 execfile("$__tool_directory__/sk_whitelist.py") | 24 with open("$__tool_directory__/sk_whitelist.json", "r") as f: |
| 25 execfile("$__tool_directory__/utils.py", globals()) | 25 sk_whitelist = json.load(f) |
| 26 exec(open("$__tool_directory__/utils.py").read(), globals()) | |
| 26 | 27 |
| 27 safe_eval = SafeEval() | 28 safe_eval = SafeEval() |
| 28 | 29 |
| 29 input_json_path = sys.argv[1] | 30 input_json_path = sys.argv[1] |
| 30 with open(input_json_path, "r") as param_handler: | 31 with open(input_json_path, "r") as param_handler: |
