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

broadinstitute / viral-ngs / 4874
23%

Build:
DEFAULT BRANCH: master
Ran 03 Nov 2017 08:46PM UTC
Jobs 2
Files 44
Run time 8min
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
4874

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

5519 of 8165 relevant lines covered (67.59%)

1.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4874.1 (PERFORM_TESTING=true) 03 Nov 2017 08:46PM UTC 0
67.43
Travis Job 4874.1
2 4874.2 (PERFORM_TESTING=true) 03 Nov 2017 08:55PM UTC 0
67.23
Travis Job 4874.2
Source Files on build 4874
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4874
  • 9d14307e on github
  • Prev Build on master (#4846)
  • Next Build on master (#4879)
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