-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resolving some nitpicks from pr #1245 #1246
Conversation
6e343b2
to
349a87d
Compare
Codecov Report
@@ Coverage Diff @@
## master #1246 +/- ##
===============================================
+ Coverage 69.407% 69.412% +0.004%
Complexity 8157 8157
===============================================
Files 548 548
Lines 32691 32689 -2
Branches 5521 5521
===============================================
Hits 22690 22690
+ Misses 7783 7781 -2
Partials 2218 2218
|
Looks like there is a tiiiny coverage drop thanks to an exception being thrown when stream does not have "markSupported". And apparently the MD5 hashing somehow shook out to work so that nobody ever hits MD5 hashes shorter than 32 so no need to pad them (?)... I can try helping with that if you want, but it looks very minor. |
@romanzenka Thank you for the offer, I wouldn't worry about that, our coverage detection always fails do to minor changes. I need to fix it... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nits on your nits.
@@ -99,6 +99,8 @@ | |||
public static final String COMPRESSED_VCF_INDEX_EXTENSION = ".tbi"; | |||
|
|||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why extra nl?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accident...
@@ -50,7 +51,7 @@ public static VCFHeader readHeaderFrom(final SeekableStream in) throws IOExcepti | |||
private static InputStream bufferAndDecompressIfNecessary(final InputStream in) throws IOException { | |||
BufferedInputStream bis = new BufferedInputStream(in); | |||
// despite the name, SamStreams.isGzippedSAMFile looks for any gzipped stream (including block compressed) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
resolving some nitpicks left over from pr #1245