• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cbmi / varify
32%
master: 39%

Build:
Build:
LAST BUILD BRANCH: issue-389
DEFAULT BRANCH: master
Repo Added 20 Nov 2013 12:19AM UTC
Files 55
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH issue-132
branch: issue-132
CHANGE BRANCH
x
Reset
  • issue-132
  • create-variant-sets
  • custom-results-view
  • develop
  • flake8
  • genes-over-post
  • harvest
  • headless_test
  • integration_test
  • internal-changes
  • issue-102
  • issue-103
  • issue-110
  • issue-111
  • issue-113
  • issue-114
  • issue-115
  • issue-13
  • issue-144
  • issue-157
  • issue-159
  • issue-16
  • issue-166
  • issue-17
  • issue-172
  • issue-181
  • issue-19
  • issue-191
  • issue-236
  • issue-238
  • issue-24
  • issue-245
  • issue-261
  • issue-264
  • issue-282
  • issue-29
  • issue-30
  • issue-301
  • issue-325
  • issue-35
  • issue-358
  • issue-369
  • issue-372
  • issue-374
  • issue-376
  • issue-377
  • issue-380
  • issue-385
  • issue-389
  • issue-390
  • issue-41
  • issue-42
  • issue-44
  • issue-50
  • issue-51
  • issue-52
  • issue-55
  • issue-57
  • issue-58
  • issue-64
  • issue-67
  • issue-70
  • issue-72
  • issue-76
  • issue-77
  • issue-80
  • issue-82
  • issue-83
  • issue-84
  • issue-87
  • issue-88
  • issue-90
  • issue-94
  • knowledge-capture
  • less-is-more
  • master
  • minified
  • no-more-coffee
  • original-port
  • phenotype-integration
  • phenotype-temp
  • phenotype_magic_number
  • proband-pdf
  • remove-load-command
  • result-modal-refactor
  • revert_pull_request_275
  • root-coffee-to-js
  • safer-sample-lookup
  • sample-selector
  • sample-workspace
  • shippable
  • some-coffee-to-js
  • test
  • travis-fix
  • ui-to-js
  • utils-to-js
  • variant-details-changes
  • variant-details-modal
  • variant-set-model
  • variant-set-page
  • variant-sets
  • varify-data-warehouse

pending completion
356

push

travis-ci

naegelyd
Fix bad data lookups on PyVCF call objects

Originally, all these lookups were done using explicit indexing of the form call['GT'] for example. This caused AttributeErrors when the key was not present. The move was made to getattr(call, 'GQ', None) to try to safely access those attributes. This unknowingly resulted in all None values being returned because the call object does not hold this data directly, it is all on its data property which is what is read in explicit indexing because PyVCF overrides the __getitem__ method(https://github.com/cbmi/PyVCF/blob/master/vcf/model.py#L90-L92). To avoid AttributeErrors, we now use a safe lookup on call.data instead of call which will read the data in a safe manner unlike the explicit indexing case because PyVCF always assumes the key is valid when calling getattr.

1286 of 4004 relevant lines covered (32.12%)

1.28 hits per line

Relevant lines Covered
Build:
Build:
4004 RELEVANT LINES 1286 COVERED LINES
1.28 HITS PER LINE
Source Files on issue-132
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
356 issue-132 Fix bad data lookups on PyVCF call objects Originally, all these lookups were done using explicit indexing of the form call['GT'] for example. This caused AttributeErrors when the key was not present. The move was made to getattr(call, 'GQ', None... push 27 Feb 2014 07:38PM UTC naegelyd travis-ci pending completion  
See All Builds (748)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc