Skip to content

Commit

Permalink
Merge branch 'master' into hm-fix-reports-with-no-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Sep 14, 2016
2 parents 9383ab6 + a772f95 commit 8c0d3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taxon_filter.py
Expand Up @@ -804,7 +804,7 @@ def blastn_chunked_fasta(fasta, db, chunkSize=1000000, threads=1):
blastnPath = tools.blast.BlastnTool().install_and_get_path()

# clamp threadcount to number of CPUs minus one
threads = min(util.misc.available_cpu_count() - 1, threads)
threads = max(min(util.misc.available_cpu_count() - 1, threads), 1)

# determine size of input data; records in fasta file
number_of_reads = util.file.fasta_length(fasta)
Expand Down

0 comments on commit 8c0d3c8

Please sign in to comment.