comparison feature_selection.xml @ 15:026667802750 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 2a058459e6daf0486871f93845f00fdb4a4eaca1
author bgruening
date Sat, 29 Sep 2018 07:30:44 -0400
parents dc411a215138
children 2bbbac61e48d
comparison
equal deleted inserted replaced
14:dc411a215138 15:026667802750
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: