# HG changeset patch # User mheinzl # Date 1559555816 14400 # Node ID b2b1f44966cb9f36780fc2c7ef464e7eaabe264e # Parent 60f66f7018169df27c0ec91150303ee2f6fff217 planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd commit b8a2f7b7615b2bcd3b602027af31f4e677da94f6-dirty diff -r 60f66f701816 -r b2b1f44966cb fsd.py --- 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":