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:
parent
8c13940c5a
commit
998763950c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue