diff clf_metrics.xml @ 21:ce75dea7d3f0 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 2a058459e6daf0486871f93845f00fdb4a4eaca1
author bgruening
date Sat, 29 Sep 2018 07:31:46 -0400
parents 309ef982e9f1
children 3cd0dbc038ec
line wrap: on
line diff
--- a/clf_metrics.xml	Thu Aug 23 16:17:41 2018 -0400
+++ b/clf_metrics.xml	Sat Sep 29 07:31:46 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: