Mercurial > repos > rnateam > graphclust_postprocessing
diff evaluation.py @ 3:79b9117aef01 draft
planemo upload for repository https://github.com/eteriSokhoyan/galaxytools/tree/branchForIterations/tools/GraphClust/CollectResults commit c03cf64554289eb098267c0923cf0cf7b245cc0c
author | rnateam |
---|---|
date | Wed, 04 Jan 2017 18:15:07 -0500 |
parents | b8e32e577597 |
children | 4310ac018d05 |
line wrap: on
line diff
--- a/evaluation.py Sat Dec 24 18:08:36 2016 -0500 +++ b/evaluation.py Wed Jan 04 18:15:07 2017 -0500 @@ -49,16 +49,10 @@ full.write(toWrite) -listOfClasses = [] -listOfClusters = [] pattern = re.compile("^RF.*$") if len(listOfClasses) > 0 and pattern.match(str(listOfClasses[0])): - with open("RESULTS/fullTab.tabular", "r") as tabF: - for line in tabF.readlines(): - listOfClasses.append(line.split()[0]) - listOfClusters.append(line.split()[1]) completeness_score = metrics.completeness_score(listOfClasses, listOfClusters) homogeneity_score = metrics.homogeneity_score(listOfClasses, listOfClusters)