changeset 28:94df985e2a93 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 06:07:30 -0400
parents b2b1f44966cb
children f77566cfa5e1
files fsd.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/fsd.py	Mon Jun 03 05:56:56 2019 -0400
+++ b/fsd.py	Mon Jun 03 06:07:30 2019 -0400
@@ -344,8 +344,8 @@
                 # linewidth=1,
                 
                 print(numpy.sum(y))
-                new_y = [yi / float(numpy.sum(y)) for yi in y]
-                print(new_y)
+                new_y = numpy.concatenate(numpy.array([yi / float(numpy.sum(y)) for yi in y]))
+                #print(new_y)
 
                 if to_plot[l] == "Relative frequencies":
                     counts2_rel = ax.bar(x, new_y, align="edge", width=w,