Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
takutosato committed Aug 6, 2024
1 parent 95de314 commit 275850f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/picard/sam/RevertSam.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ protected int doWork() {
}

final boolean sanitizing = SANITIZE;
final SamReader in = SamReaderFactory.makeDefault().referenceSequence(referenceSequence.getReferencePath()).validationStringency(VALIDATION_STRINGENCY).open(SamInputResource.of(INPUT.toPath())); // tsato: confirm this won't break piped input
final SamReader in = SamReaderFactory.makeDefault().referenceSequence(referenceSequence.getReferencePath()).validationStringency(VALIDATION_STRINGENCY).open(SamInputResource.of(INPUT.toPath()));
final SAMFileHeader inHeader = in.getFileHeader();
ValidationUtil.validateHeaderOverrides(inHeader, SAMPLE_ALIAS, LIBRARY_NAME);

Expand Down
1 change: 0 additions & 1 deletion src/test/java/picard/sam/MergeBamAlignmentTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ public class MergeBamAlignmentTest extends CommandLineProgramTest {

public static final File unmappedBam = new File(DATA_DIR, "unmapped.sam");
private static final File alignedBam = new File(DATA_DIR, "aligned.sam");
public static final File alignedQuerySortedBam = new File(DATA_DIR, "aligned_query_name_sorted.sam");
private static final File oneHalfAlignedBam = new File(DATA_DIR, "onehalfaligned.sam");
private static final File otherHalfAlignedBam = new File(DATA_DIR, "otherhalfaligned.sam");
private static final File mergingUnmappedBam = new File(TEST_DATA_DIR, "unmapped.sam");
Expand Down

0 comments on commit 275850f

Please sign in to comment.