projects
/
erange.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
convert standard analysis pipelines to use bam format natively
[erange.git]
/
geneLocusBins.py
diff --git
a/geneLocusBins.py
b/geneLocusBins.py
index 03cade292225b55513b300a0fca2d8f2c4f5d50a..14cb2b5ee2b5617fba45f1a69ef94386784c0b11 100755
(executable)
--- 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:
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
normalizedValue = 100. * binAmount
binAmount = normalizedValue