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

broadinstitute / viral-ngs / 3731
23%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2017 07:27PM UTC
Jobs 3
Files 41
Run time 1min
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
3731

push

travis-ci

tomkinsc
Avoid exception when two sequences do not overlap (#623)

* Avoid exception when two sequences do not overlap

CoordMapper does not work when there are two sequences that do not overlap.
For example, consider an alignment of length 7 in which there are many
sequences, two of which are:
  --at----
  -----cg-
In this case, CoordMapper2Seqs cannot be instantiated on these
sequences; it raises Exception('CoordMapper2Seqs: no aligned bases.')
because there are no 'real' bases that overlap in the alignment.

This commit allows the object to be created by moving the check from
__init__() to __call__(). Since the sequences do not overlap,
__call__() should not be invoked and, therefore, an exception will
not be raised.

* Fix unit test

5226 of 7390 relevant lines covered (70.72%)

2.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3731.1 20 Mar 2017 07:27PM UTC 0
70.62
Travis Job 3731.1
2 3731.2 20 Mar 2017 07:28PM UTC 0
70.51
Travis Job 3731.2
3 3731.3 20 Mar 2017 07:28PM UTC 0
70.09
Travis Job 3731.3
Source Files on build 3731
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3731
  • 32dcac72 on github
  • Prev Build on master (#3717)
  • Next Build on master (#3739)
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