Er, here's the right fix

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4552 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2010-10-22 15:08:25 +00:00
parent 181f901126
commit c0b4317311
1 changed files with 1 additions and 3 deletions

View File

@ -65,9 +65,7 @@ public class FilterLiftedVariants extends RodWalker<Integer, Integer> {
boolean failed = false;
byte[] recordRef = vc.getReference().getBases();
for (int i = 0; i < recordRef.length; i++) {
if ( i > MAX_VARIANT_SIZE )
break;
for (int i = 0; i < recordRef.length && i < MAX_VARIANT_SIZE; i++) {
if ( recordRef[i] != ref[i + (vc.isSNP() ? 0 : 1)] ) {
failed = true;
break;