Fix logic bug
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3734 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
9fc05ac2ae
commit
1c146aebe8
|
|
@ -4,7 +4,6 @@ import org.broadinstitute.sting.utils.GenomeLoc;
|
||||||
import org.broadinstitute.sting.utils.StingException;
|
import org.broadinstitute.sting.utils.StingException;
|
||||||
import org.broadinstitute.sting.utils.BaseUtils;
|
import org.broadinstitute.sting.utils.BaseUtils;
|
||||||
import org.broadinstitute.sting.utils.Utils;
|
import org.broadinstitute.sting.utils.Utils;
|
||||||
import org.broad.tribble.vcf.VCFRecord;
|
|
||||||
import org.broad.tribble.Feature;
|
import org.broad.tribble.Feature;
|
||||||
|
|
||||||
import java.util.*;
|
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 )
|
* @return a list of indel lengths ( null if not of type indel or mixed )
|
||||||
*/
|
*/
|
||||||
public List<Integer> getIndelLengths() {
|
public List<Integer> getIndelLengths() {
|
||||||
if ( getType() != Type.INDEL || getType() != Type.MIXED ) {
|
if ( getType() != Type.INDEL && getType() != Type.MIXED ) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue