Commit 7929dd0e authored by tcarver's avatar tcarver
Browse files

fix for threshold cut-off

parent 5c43cba1
......@@ -705,10 +705,9 @@ public class BamView extends JPanel
for(int i=abeg; i<aend; i++)
{
int bin = ((i-start)/binSize)-1;
if(bin < 0)
bin = 0;
continue;
else if(bin > nbins-1)
bin = nbins-1;
cov[bin]++;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment