Skip to content

Commit

Permalink
fixing another edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesemery committed Jul 7, 2023
1 parent 47be31f commit 4a8c604
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import org.testng.annotations.Test;

import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.stream.Collectors;
Expand Down Expand Up @@ -42,7 +43,7 @@ public Object[][] getValidReadsContextData() {
// Default-constructed ReadsContexts and ReadsContexts constructed from null ReadsDataSources/intervals
// should behave as empty context objects.
ReadNameReadFilter readNameFilter = new ReadNameReadFilter();
readNameFilter.readName = "d";
readNameFilter.readNames = Collections.singleton("d");
return new Object[][]{
{new ReadsContext(
new ReadsPathDataSource(IOUtils.getPath(publicTestDir + "org/broadinstitute/hellbender/engine/reads_data_source_test1.bam")),
Expand Down

0 comments on commit 4a8c604

Please sign in to comment.