Mercurial > repos > bgruening > sklearn_feature_selection
diff 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 |
line wrap: on
line diff
--- a/feature_selection.xml Thu Aug 23 16:10:26 2018 -0400 +++ b/feature_selection.xml Sat Sep 29 07:19:58 2018 -0400 @@ -21,8 +21,9 @@ import pandas import sklearn.feature_selection -execfile("$__tool_directory__/sk_whitelist.py") -execfile("$__tool_directory__/utils.py", globals()) +with open("$__tool_directory__/sk_whitelist.json", "r") as f: + sk_whitelist = json.load(f) +exec(open("$__tool_directory__/utils.py").read(), globals()) safe_eval = SafeEval()
