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

cbmi / varify / 356
32%
master: 39%

Build:
Build:
LAST BUILD BRANCH: issue-389
DEFAULT BRANCH: master
Ran 27 Feb 2014 07:38PM UTC
Jobs 4
Files 107
Run time –
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

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

Jobs
ID Job ID Ran Files Coverage
1 356.1 (DJANGO=1.4.10) 27 Feb 2014 07:38PM UTC 0
32.12
Travis Job 356.1
2 356.2 (DJANGO=1.5.5) 27 Feb 2014 07:42PM UTC 0
32.12
Travis Job 356.2
3 356.3 (DJANGO=1.4.10) 27 Feb 2014 07:43PM UTC 0
31.97
Travis Job 356.3
4 356.4 (DJANGO=1.5.5) 27 Feb 2014 07:45PM UTC 0
31.97
Travis Job 356.4
Source Files on build 356
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #356
  • b4cf3e71 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

© 2026 Coveralls, Inc