changeset 30:2cbc0e34b7a7 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:24:01 -0400
parents f77566cfa5e1
children b01ecc2e9686
files fsd.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fsd.py	Mon Jun 03 06:10:32 2019 -0400
+++ b/fsd.py	Mon Jun 03 06:24:01 2019 -0400
@@ -344,8 +344,9 @@
                 # linewidth=1,
                 
                 print(numpy.sum(y))
+                print(float(numpy.sum(y)))
                 print(x)
-                new_y = numpy.concatenate(numpy.array([yi / float(numpy.sum(y)) for yi in y]))
+                new_y = list(numpy.concatenate(numpy.array([yi / float(numpy.sum(y)) for yi in y])))
                 print(new_y)
 
                 if to_plot[l] == "Relative frequencies":