| Previous changeset 30:2cbc0e34b7a7 (2019-06-03) Next changeset 32:5e1450eda945 (2019-06-03) |
|
Commit message:
planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd commit b8a2f7b7615b2bcd3b602027af31f4e677da94f6-dirty |
|
modified:
fsd.py |
| b |
| diff -r 2cbc0e34b7a7 -r b01ecc2e9686 fsd.py --- a/fsd.py Mon Jun 03 06:24:01 2019 -0400 +++ b/fsd.py Mon Jun 03 06:47:29 2019 -0400 |
| [ |
| @@ -346,8 +346,15 @@ print(numpy.sum(y)) print(float(numpy.sum(y))) print(x) - new_y = list(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) print(new_y) + + #new_y_heights = [x[0] for x in new_y] + #print(new_y_heights) + #print(new_y.shape) if to_plot[l] == "Relative frequencies": counts2_rel = ax.bar(x, new_y, align="edge", width=w, |