# HG changeset patch
# User mheinzl
# Date 1559556450 14400
# Node ID 94df985e2a931686e7ea7becfa236f0f4debe00e
# Parent  b2b1f44966cb9f36780fc2c7ef464e7eaabe264e
planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd commit b8a2f7b7615b2bcd3b602027af31f4e677da94f6-dirty

diff -r b2b1f44966cb -r 94df985e2a93 fsd.py
--- 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,