Mercurial > repos > mheinzl > hd
diff hd.py @ 28:1fa7342a140d draft
planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/hd commit b8a2f7b7615b2bcd3b602027af31f4e677da94f6-dirty
author | mheinzl |
---|---|
date | Mon, 03 Jun 2019 05:37:01 -0400 |
parents | df1fc5cedc8b |
children | 6b15b3b6405c |
line wrap: on
line diff
--- a/hd.py Mon Jun 03 05:15:27 2019 -0400 +++ b/hd.py Mon Jun 03 05:37:01 2019 -0400 @@ -107,7 +107,8 @@ con_list1 = numpy.concatenate(list1) p1 = numpy.array([v for k, v in sorted(Counter(con_list1).iteritems())]) maximumY = numpy.amax(p1) - print("max X", maximumX, ) + maximumX = int(maximumX) + print("max X", maximumX ) if relative is True: # relative difference bin1 = numpy.arange(-1, maximumX + 0.2, 0.1)