changeset 27:b2b1f44966cb draft

planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd commit b8a2f7b7615b2bcd3b602027af31f4e677da94f6-dirty
author mheinzl
date Mon, 03 Jun 2019 05:56:56 -0400
parents 60f66f701816
children 94df985e2a93
files fsd.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/fsd.py	Mon Jun 03 05:53:24 2019 -0400
+++ b/fsd.py	Mon Jun 03 05:56:56 2019 -0400
@@ -343,8 +343,8 @@
                 #print(w)
                 # linewidth=1,
                 
-                print(sum(y))
-                new_y = [yi / float(sum(y)) for yi in y]
+                print(numpy.sum(y))
+                new_y = [yi / float(numpy.sum(y)) for yi in y]
                 print(new_y)
 
                 if to_plot[l] == "Relative frequencies":