Skip to content
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

prevent accidental toString call during validation #3478

Merged
merged 1 commit into from
Aug 22, 2017

Conversation

lbergelson
Copy link
Member

profiling of GenotypeGVCFs showed a lot of wasted time in VariantContext.toString() which can be tracked to computing an error message we never display in AFCalculator.getLog10PNonRef
fixing it so we only compute the message when we the error occurs

* profiling of GenotypeGVCFs showed a lot of wasted time in VariantContext.toString() which can be tracked to computing an error message we never display in AFCalculator.getLog10PNonRef()
* fixing it so we only compute the message when we the error occurs
Copy link
Contributor

@davidbenjamin davidbenjamin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, indeed.

@codecov-io
Copy link

Codecov Report

Merging #3478 into master will increase coverage by 0.006%.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             master     #3478       +/-   ##
==============================================
+ Coverage     80.32%   80.326%   +0.006%     
  Complexity    17704     17704               
==============================================
  Files          1181      1181               
  Lines         64013     64013               
  Branches       9943      9942        -1     
==============================================
+ Hits          51415     51419        +4     
+ Misses         8642      8639        -3     
+ Partials       3956      3955        -1
Impacted Files Coverage Δ Complexity Δ
...r/tools/walkers/genotyper/afcalc/AFCalculator.java 94.444% <0%> (ø) 8 <0> (ø) ⬇️
...er/tools/spark/sv/discovery/AlignmentInterval.java 91.525% <0%> (+0.847%) 24% <0%> (ø) ⬇️
...oadinstitute/hellbender/utils/gcs/BucketUtils.java 76.316% <0%> (+1.974%) 38% <0%> (ø) ⬇️

@lbergelson lbergelson merged commit 6cae8ce into master Aug 22, 2017
@lbergelson lbergelson deleted the lb_fix_time_waste_in_genotype_gvcfs branch August 22, 2017 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants