def makeps(i, j, element):
    (relrep, experp, pexp, ann) = element
    xpos = posx(i)
    if i == -1:
        xpos = 0
    logrelrep = math.log(1.0001 + (relrep / 100.0))
    color = 0.5 + (logrelrep / math.log(4.0)) / 2  # red=low, green=high
    if experp <= pval0:
        size = maxsize
    elif experp <= pval1:
        size = 0.8 * maxsize
    elif experp <= pval2:
        size = 0.6 * maxsize
    elif experp <= pval3:
        size = 0.45 * maxsize
    elif experp <= pval4:
        size = 0.3 * maxsize
    elif experp <= pval5:
        size = 0.2 * maxsize
    else:
        size = 0
    if size > 0:
        print xpos, rowheight / 2.0 + posy(j), size
        makecolor(color)
        print "makebox"
    else:
        print xpos, rowheight / 2.0 + posy(j), 1
        makecolor(0.5)
        print "makebox"
    if i == vertical:
        print "gsave 0.5 setgray"
        print "0.25 setlinewidth"
        print "[] 0 setdash"
        print colsize / 2 - posx(i), posy(j), "moveto"
        print posx(i) - colsize / 2, posy(j + 1), "lineto stroke grestore"
dataset/ETHPy150Open CGATOxford/cgat/scripts/go2plot.py/makeps/swapped operands of `-`