comparison numeric_clustering.xml @ 32:a36e1455971d draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/sklearn commit 60f0fbc0eafd7c11bc60fb6c77f2937782efd8a9-dirty
author bgruening
date Fri, 09 Aug 2019 06:19:29 -0400
parents 60d80322e1e9
children 80bb86a40de6
comparison
equal deleted inserted replaced
31:faa3d0b9d1a6 32:a36e1455971d
17 import sys 17 import sys
18 import json 18 import json
19 import numpy as np 19 import numpy as np
20 import sklearn.cluster 20 import sklearn.cluster
21 import pandas 21 import pandas
22
22 from sklearn import metrics 23 from sklearn import metrics
23 from scipy.io import mmread 24 from scipy.io import mmread
24 25 from galaxy_ml.utils import read_columns
25 sys.path.insert(0, '$__tool_directory__') 26
26 from utils import read_columns
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 input_json_path = sys.argv[1] 30 input_json_path = sys.argv[1]
31 with open(input_json_path, "r") as param_handler: 31 with open(input_json_path, "r") as param_handler: