Skip to content

Commit

Permalink
updates to inflaterIntegrationTest
Browse files Browse the repository at this point in the history
  • Loading branch information
pnvaidya committed Feb 16, 2017
1 parent fb5d0a2 commit b690e9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies {
compile 'org.broadinstitute:gatk-native-bindings:0.0.3'
compile 'org.apache.logging.log4j:log4j-api:2.5'
compile 'org.apache.logging.log4j:log4j-core:2.5'
compile 'com.github.samtools:htsjdk:2.8.1-28-g3a8fa8e-SNAPSHOT'
compile 'com.github.samtools:htsjdk:2.9.0'
testCompile 'org.testng:testng:6.9.9'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public Deflater makeDeflater(final int compressionLevel, final boolean nowrap) {
long totalRecords = 0;
try (final SamReader reader = readerFactory.open(inputFile)) {
final SAMFileHeader header = reader.getFileHeader();

final SAMFileWriterFactory writerFactory = new SAMFileWriterFactory();
writerFactory.setCompressionLevel(compressionLevel);
writerFactory.setDeflaterFactory(deflaterFactory);
Expand Down

0 comments on commit b690e9f

Please sign in to comment.