Commit 8d7c7475 authored by Eliane Rickert's avatar Eliane Rickert

start counting at 1 not 0

parent a76366d0
......@@ -33,7 +33,7 @@ public class DNAUtil {
// add window to windowFrequency map if not contained, else increase counter
if (!windowFrequency.containsKey(windowSeq.getRawData())) {
windowFrequency.put(windowSeq.getRawData(), 0);
windowFrequency.put(windowSeq.getRawData(), 1);
} else {
windowFrequency.put(windowSeq.getRawData(), (windowFrequency.get(windowSeq.getRawData()) + 1));
}
......
Markdown is supported
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