Mercurial > repos > rnateam > graphclust_postprocessing
diff evaluation.py @ 3:a8fde40f00fc draft
planemo upload for repository https://github.com/eteriSokhoyan/galaxytools/tree/branchForIterations/tools/GraphClust/CollectResults commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
author | rnateam |
---|---|
date | Sat, 21 Jan 2017 17:25:15 -0500 |
parents | 6c88ad83de28 |
children | dbcea781900e |
line wrap: on
line diff
--- a/evaluation.py Fri Jan 13 16:57:54 2017 -0500 +++ b/evaluation.py Sat Jan 21 17:25:15 2017 -0500 @@ -2,6 +2,7 @@ from os import system import re from sklearn import metrics +from shutil import make_archive def sh(script): system("bash -c '%s'" % script) @@ -67,3 +68,6 @@ with open("RESULTS/evaluation.txt", "w") as fOut: fOut.write(toWrite) + + +make_archive('RESULTS', 'zip', root_dir='RESULTS')