diff BlastParser_and_hits.py @ 3:b4c9c085d709 draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/blastparser_and_hits commit e3881f05134c6f50889d0376d27e1c232251f8b3
author artbio
date Tue, 05 Feb 2019 17:21:41 -0500
parents 36103afa0934
children 5b7aa9f6fd59
line wrap: on
line diff
--- a/BlastParser_and_hits.py	Tue Jun 19 05:18:31 2018 -0400
+++ b/BlastParser_and_hits.py	Tue Feb 05 17:21:41 2019 -0500
@@ -62,11 +62,11 @@
 def median(lst):
     lst = sorted(lst)
     if len(lst) < 1:
-            return None
+        return None
     if len(lst) % 2 == 1:
-            return lst[((len(lst)+1)/2)-1]
+        return lst[((len(lst)+1)/2)-1]
     if len(lst) % 2 == 0:
-            return float(sum(lst[(len(lst)/2)-1:(len(lst)/2)+1]))/2.0
+        return float(sum(lst[(len(lst)/2)-1:(len(lst)/2)+1]))/2.0
 
 
 def mean(lst):