diff ensemble.xml @ 26:dde0f1654d18 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
author bgruening
date Fri, 09 Aug 2019 07:23:21 -0400
parents e94395c672bd
children af0523c606a7
line wrap: on
line diff
--- a/ensemble.xml	Tue Jul 09 19:33:14 2019 -0400
+++ b/ensemble.xml	Fri Aug 09 07:23:21 2019 -0400
@@ -18,12 +18,12 @@
 import numpy as np
 import pandas
 import pickle
+import sys
+
 from scipy.io import mmread
 import sklearn.ensemble
-import sys
+from galaxy_ml.utils import load_model, get_X_y
 
-sys.path.insert(0, '$__tool_directory__')
-from utils import load_model, get_X_y
 
 N_JOBS = int(__import__('os').environ.get('GALAXY_SLOTS', 1))