-
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
For reduce worktime of lein cloverage
#69
For reduce worktime of lein cloverage
#69
Conversation
Codecov Report
@@ Coverage Diff @@
## master #69 +/- ##
==========================================
- Coverage 82.62% 81.62% -1.01%
==========================================
Files 55 55
Lines 3281 3281
Branches 361 366 +5
==========================================
- Hits 2711 2678 -33
- Misses 209 237 +28
- Partials 361 366 +5
Continue to review full report at Codecov.
|
test/cljam/t_bam_indexer.clj
Outdated
{:chr "chr1" :start 23000000 :end 24000000 :depth :deep} 10010 | ||
{:chr "chr1" :start 23000000 :end 23500000 :depth :deep} 3806 | ||
{:chr "*"} 0))))) |
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.
These are tests for #21. Please confirm that numbers of spans (regions in BAM file) differ.
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 your review.
I saw #21 and https://travis-ci.org/chrovis/cljam/jobs/193304007#L419 , I understood.
Restore original numbers of spans, and remove unrelated tests by d5d350f .
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.
How about this? I think it'll be faster!
(are [?param ?counts] (= (count (io/read-alignments r ?param)) ?counts)
{:chr "chr1" :start 23000000 :end 23001000 :depth :deep} 46 ;; 1 span
{:chr "chr1" :start 24900000 :end 24902000 :depth :deep} 3 ;; 2 spans
{:chr "chr1" :start 24000000 :end 24001000 :depth :deep} 6 ;; 3 spans
{:chr "chr1" :start 23260000 :end 23268650 :depth :deep} 58 ;; 4 spans
{:chr "chr1" :start 23430000 :end 23470000 :depth :deep} 55 ;; 5 spans
{:chr "*"} 0) ;; 1 span
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.
…ts / Remove unneeded `:depth :shallow` `:depth :pointer` tests
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.
Pretty good except a point of @alumi comments.
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! 👍
bamreader-medium-file
test asdeftest-slow
(It may causes decreasing of coverage a bit)about-bam-indexer-small-file test