Oops, contig index is a zero not one based value

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@512 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
aaron 2009-04-23 19:08:16 +00:00
parent 8c13940c5a
commit 998763950c
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ public class GenomeLoc implements Comparable<GenomeLoc> {
* at the end of the genome (no more contigs to jump to).
*/
public boolean toNextContig() {
if (contigIndex < GenomeLoc.contigInfo.size()) {
if ((contigIndex + 1) < GenomeLoc.contigInfo.size()) {
this.contigIndex++;
this.start = 1;
this.stop = 1;