From 1c146aebe816530884b5c6cdab74ebc71b9f0403 Mon Sep 17 00:00:00 2001 From: ebanks Date: Thu, 8 Jul 2010 04:32:46 +0000 Subject: [PATCH] Fix logic bug git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3734 348d0f76-0448-11de-a6fe-93d51630548a --- .../sting/gatk/contexts/variantcontext/VariantContext.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/src/org/broadinstitute/sting/gatk/contexts/variantcontext/VariantContext.java b/java/src/org/broadinstitute/sting/gatk/contexts/variantcontext/VariantContext.java index e90b94cc7..ca2b32ffd 100755 --- a/java/src/org/broadinstitute/sting/gatk/contexts/variantcontext/VariantContext.java +++ b/java/src/org/broadinstitute/sting/gatk/contexts/variantcontext/VariantContext.java @@ -4,7 +4,6 @@ import org.broadinstitute.sting.utils.GenomeLoc; import org.broadinstitute.sting.utils.StingException; import org.broadinstitute.sting.utils.BaseUtils; import org.broadinstitute.sting.utils.Utils; -import org.broad.tribble.vcf.VCFRecord; import org.broad.tribble.Feature; import java.util.*; @@ -606,7 +605,7 @@ public class VariantContext implements Feature { // to enable tribble intergrati * @return a list of indel lengths ( null if not of type indel or mixed ) */ public List getIndelLengths() { - if ( getType() != Type.INDEL || getType() != Type.MIXED ) { + if ( getType() != Type.INDEL && getType() != Type.MIXED ) { return null; }