X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=erange.git;a=blobdiff_plain;f=geneLocusBins.py;fp=geneLocusBins.py;h=14cb2b5ee2b5617fba45f1a69ef94386784c0b11;hp=03cade292225b55513b300a0fca2d8f2c4f5d50a;hb=4ad5495359e4322da39868020a7398676261679e;hpb=cfc5602b26323ad2365295145e3f6c622d912eb4 diff --git a/geneLocusBins.py b/geneLocusBins.py index 03cade2..14cb2b5 100755 --- a/geneLocusBins.py +++ b/geneLocusBins.py @@ -154,7 +154,7 @@ def writeBins(gidList, geneinfoDict, gidBins, gidLen, outfilename, normalizeBins try: normalizedValue = 100. * binAmount / tagCount except ZeroDivisionError: - #TODO: QForALi - this is the right way to refactor the original code, but I don't think this is the right answer + #TODO: this is the right way to refactor the original code, but I don't think this is the right answer normalizedValue = 100. * binAmount binAmount = normalizedValue