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

broadinstitute / catch / 401 / 2
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v1.5.1
DEFAULT BRANCH: master
Ran 15 Sep 2022 05:43PM UTC
Files 67
Run time 2s
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

15 Sep 2022 05:40PM UTC coverage: 94.283% (+0.02%) from 94.266%
401.2

push

travis-ci-com

haydenm
Fix bug in set_cover_filter with no candidate probes

There can be some cases where set_cover_filter is run with no input
candidate probes. For instance, if sequences are clustered and a
cluster/grouping has just 1 sequence that is both short (roughly the
length of a probe) and contains a string of Ns, then no candidate probes
will be constructed for it. This may happen sporadically because there
is randomness in the clustering algorithm.

In that case of a grouping with no input probes, set_cover_filter had
crashed. The call to
`probe.construct_kmer_probe_map_to_find_probe_covers()` on line 398 of
set_cover_filter.py returns an empty kmer_probe_map. Then, the call to
`probe.SharedKmerProbeMap.construct()` leads to a ValueError (line 708
of probe.py).

This commit fixes that case by checking for 0 candidate probes and
ensuring that the filter runs successfully, yielding 0 probes.

2081 of 2331 branches covered (89.27%)

5723 of 6070 relevant lines covered (94.28%)

0.94 hits per line

Source Files on job 401.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 181
  • Travis Job 401.2
  • f96817bf on github
  • Prev Job for on fix-edge-case-bugs (#400.1)
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