comparison 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
comparison
equal deleted inserted replaced
25:360330a867f0 26:dde0f1654d18
16 <![CDATA[ 16 <![CDATA[
17 import json 17 import json
18 import numpy as np 18 import numpy as np
19 import pandas 19 import pandas
20 import pickle 20 import pickle
21 import sys
22
21 from scipy.io import mmread 23 from scipy.io import mmread
22 import sklearn.ensemble 24 import sklearn.ensemble
23 import sys 25 from galaxy_ml.utils import load_model, get_X_y
24 26
25 sys.path.insert(0, '$__tool_directory__')
26 from utils import load_model, get_X_y
27 27
28 N_JOBS = int(__import__('os').environ.get('GALAXY_SLOTS', 1)) 28 N_JOBS = int(__import__('os').environ.get('GALAXY_SLOTS', 1))
29 29
30 # Get inputs, outputs. 30 # Get inputs, outputs.
31 input_json_path = sys.argv[1] 31 input_json_path = sys.argv[1]