-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix parser of optional fields in SAM/BAM. #92
Conversation
Codecov Report
@@ Coverage Diff @@
## master #92 +/- ##
==========================================
+ Coverage 82.93% 83.22% +0.29%
==========================================
Files 60 60
Lines 4161 4162 +1
Branches 452 452
==========================================
+ Hits 3451 3464 +13
+ Misses 258 246 -12
Partials 452 452
Continue to review full report at Codecov.
|
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.
Thanks for the fix. I have a question about reinvention. Please check it.
src/cljam/io/sam/util.clj
Outdated
@@ -77,6 +77,19 @@ | |||
(map parse-header-line) | |||
into-header))) | |||
|
|||
(defn- ^"[B" as-byte-array [^String s] |
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.
proton has hex->bytes
function, which seems to be equivalent of this function. Is any reason to reinvent 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.
I hadn't noticed that fn. Thank you for pointing that!
Thank you :) |
Thank you for the reviewing! |
Fixed returned type of following two elements in optional fields in SAM/BAM.