samtools / htsjdk

A Java API for high-throughput sequencing data (HTS) formats.
http://samtools.github.io/htsjdk/
283 stars 242 forks source link

Reject BCF files when minor version doesn't match the current implementation. #1324

Closed cmnbroad closed 5 years ago

cmnbroad commented 5 years ago

Fixes https://github.com/samtools/htsjdk/issues/1323.

There are 3 commits:

codecov-io commented 5 years ago

Codecov Report

Merging #1324 into master will decrease coverage by 0.003%. The diff coverage is 50%.

@@               Coverage Diff               @@
##              master     #1324       +/-   ##
===============================================
- Coverage     67.796%   67.793%   -0.003%     
- Complexity      8250      8251        +1     
===============================================
  Files            562       562               
  Lines          33639     33639               
  Branches        5641      5641               
===============================================
- Hits           22806     22805        -1     
- Misses          8658      8659        +1     
  Partials        2175      2175
Impacted Files Coverage Δ Complexity Δ
src/main/java/htsjdk/variant/bcf2/BCF2Codec.java 77.381% <50%> (+1.19%) 35 <0> (+2) :arrow_up:
src/main/java/htsjdk/samtools/BAMFileReader.java 67.847% <0%> (-0.817%) 51% <0%> (-1%)