Minor updates to test code

This commit is contained in:
Mark DePristo 2012-06-06 14:07:07 -04:00
parent 54817f8d16
commit cfd1e50068
2 changed files with 4 additions and 3 deletions

View File

@ -291,8 +291,6 @@ public class VariantContextTestProvider {
private static void addGenotypes( final VariantContext site) {
final GenotypesContext gc = new GenotypesContext();
// test ref/ref
final Allele ref = site.getReference();
final Allele alt1 = site.getNAlleles() > 1 ? site.getAlternateAllele(0) : null;

View File

@ -55,7 +55,10 @@ public class VariantContextWritersUnitTest extends BaseTest {
@BeforeSuite
public void before() throws IOException {
IndexedFastaSequenceFile seq = new CachingIndexedFastaSequenceFile(new File(b37KGReference));
final File source = new File(b37KGReference);
//final File source = new File("/Users/depristo/Desktop/broadLocal/localData/human_g1k_v37.fasta");
IndexedFastaSequenceFile seq = new CachingIndexedFastaSequenceFile(source);
//IndexedFastaSequenceFile seq = new CachingIndexedFastaSequenceFile(new File(b37KGReference));
dictionary = seq.getSequenceDictionary();
VariantContextTestProvider.initializeTests();
}