diff clf_metrics.xml @ 22:97d5f4bc5bb0 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 2a058459e6daf0486871f93845f00fdb4a4eaca1
author bgruening
date Sat, 29 Sep 2018 07:21:15 -0400
parents ba8a518a0b21
children 77dc53da2d1b
line wrap: on
line diff
--- a/clf_metrics.xml	Thu Aug 23 16:11:11 2018 -0400
+++ b/clf_metrics.xml	Sat Sep 29 07:21:15 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: