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

broadinstitute / viral-ngs / 4874 / 2
23%
master: 23%

Build:
DEFAULT BRANCH: master
Ran 03 Nov 2017 08:55PM UTC
Files 44
Run time 1s
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

03 Nov 2017 08:18PM UTC coverage: 67.234% (-0.2%) from 67.455%
PERFORM_TESTING=true

push

travis-ci

web-flow
Change thread defaults throughout (#712)

The CLI should default to fully utilize available resources, and threads should be limited in only three scenarios:
 - snakemake parallel execution on a single machine
 - shared HPC cluster execution (also snakemake)
 - unit tests when py.test xdist is enabled

In all other scenarios (cloud executions, local workstation executions, single command invocations), we should default to use all cores. This is one area where CLI defaults should differ from snakemake defaults.

This PR:
 - converts all CLI argparse parameters to default threads=`util.misc.available_cpu_count` (snakemake defaults unchanged)
 - ensures that argparse options are `type=int`
 - ensures that unit tests are always setting it to `_CPU`
 - converts some `--numThreads` argparse options to `--threads` for consistency
 - fixes some erroneous situations where `--threads` was offered, but not actually passed downstream
 - and has some topically unrelated optimizations to the Travis build for sphinx documentation

5489 of 8164 relevant lines covered (67.23%)

0.67 hits per line

Source Files on job 4874.2 (PERFORM_TESTING=true)
  • Tree
  • List 0
  • Changed 19
  • Source Changed 15
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4874
  • Travis Job 4874.2
  • 9d14307e on github
  • Prev Job for PERFORM_TESTING=true on master (#4846.1)
  • Next Job for PERFORM_TESTING=true on master (#4879.2)
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