diff regression_metrics.xml @ 14:625beb4e5000 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 2a058459e6daf0486871f93845f00fdb4a4eaca1
author bgruening
date Sat, 29 Sep 2018 07:32:16 -0400
parents 8362c6cda4ef
children 40ee30b5e456
line wrap: on
line diff
--- a/regression_metrics.xml	Thu Aug 23 16:18:37 2018 -0400
+++ b/regression_metrics.xml	Sat Sep 29 07:32:16 2018 -0400
@@ -21,7 +21,7 @@
 import numpy as np
 from sklearn import metrics
 
-execfile("$__tool_directory__/utils.py")
+exec(open("$__tool_directory__/utils.py").read(), globals())
 
 input_json_path = sys.argv[1]
 with open(input_json_path, "r") as param_handler: