Mercurial > repos > mheinzl > fsd
diff fsd.py @ 32:5e1450eda945 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:58:20 -0400 |
parents | b01ecc2e9686 |
children | 55c7e49eea88 |
line wrap: on
line diff
--- a/fsd.py Mon Jun 03 06:47:29 2019 -0400 +++ b/fsd.py Mon Jun 03 06:58:20 2019 -0400 @@ -346,7 +346,7 @@ 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 = numpy.concatenate((numpy.array([yi / float(numpy.sum(y)) for yi in y]))) print(new_y.shape) new_y = numpy.array(new_y).reshape((len(new_y))) print(new_y.shape)