Closed yfarjoun closed 4 years ago
@pshapiro4broad you inspired me to do this....
Oh man, I've wanted to do this for a long time but I've been too lazy.
Oh man, I've wanted to do this for a long time but I've been too lazy. The thing we MIGHT want to do is make it return a typed value when given a tag with a known type. Thats more work though.
wouldn't that require having separate enums for the different types?
On Wed, Apr 15, 2020 at 11:18 AM Louis Bergelson notifications@github.com wrote:
Oh man, I've wanted to do this for a long time but I've been too lazy. The thing we MIGHT want to do is make it return a typed value when given a tag with a known type. Thats more work though.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/samtools/htsjdk/pull/1472#issuecomment-614102479, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU6JURIVNIZJOLQQXX3ROLRMXF55ANCNFSM4MIU37SA .
yes, until http://openjdk.java.net/jeps/301 releases in ???
@yfarjoun This is waiting on an update to the comment about avoiding redundant conversion in SAMRecord.hasAttribute and friends.
Merging #1472 into master will increase coverage by
0.391%
. The diff coverage is60.000%
.
@@ Coverage Diff @@
## master #1472 +/- ##
===============================================
+ Coverage 69.205% 69.596% +0.391%
- Complexity 8700 9066 +366
===============================================
Files 587 601 +14
Lines 34580 36212 +1632
Branches 5779 6088 +309
===============================================
+ Hits 23931 25202 +1271
- Misses 8367 8664 +297
- Partials 2282 2346 +64
... so that callers do not need to adorn their code with useless .name() or .getBinaryTag() calls.
Description
Please explain the changes you made here. Explain the motivation for making this change. What existing problem does the pull request solve?
Things to think about before submitting: