Fix busted code. Note for all:

String.valueOf(byte[]) doesn't work.  You must use new String(byte[]).


git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3533 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2010-06-11 05:01:48 +00:00
parent 338bb9adf4
commit 63ad71cca6
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ public class VariantContextAdaptors {
if ( vcf.isDeletion() && refAllele.length() > alt.getLength() ) {
byte[] semiDeletion = new byte[refAllele.length() - alt.getLength()];
System.arraycopy(ref.getBases(), alt.getLength(), semiDeletion, 0, refAllele.length() - alt.getLength());
allele = Allele.create(String.valueOf(semiDeletion), false);
allele = Allele.create(new String(semiDeletion), false);
} else {
allele = Allele.create(alt.getBases(), false);
}