projects
/
erange.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f367a00
)
fixed bug in RegionFinder causing crash
author
Sean Upchurch
<sau@caltech.edu>
Tue, 23 Aug 2011 21:00:18 +0000
(14:00 -0700)
committer
Sean Upchurch
<sau@caltech.edu>
Tue, 23 Aug 2011 21:00:18 +0000
(14:00 -0700)
findall.py
patch
|
blob
|
history
diff --git
a/findall.py
b/findall.py
index f6fb9e618ae7ebd72830e75b84aa536a455c07e8..2e4123ab2e0261988282c7c9f11b02c474d61fac 100755
(executable)
--- a/
findall.py
+++ b/
findall.py
@@
-226,7
+226,7
@@
class RegionFinder():
plusRatio = float(peak.numPlus)/peak.numHits
if peakScore >= self.minPeak and self.minPlusRatio <= plusRatio <= self.maxPlusRatio:
if self.doDirectionality:
- if self.leftPlusRatio < peak.numLeft / peak.numPlus:
+ if self.leftPlusRatio < peak.numLeft
Plus
/ peak.numPlus:
self.statistics["mIndex"] += 1
self.statistics["mTotal"] += sumAll
else: