Skip to content

Commit

Permalink
bugfix threads not capped to threads input
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmgranja committed Jul 4, 2022
1 parent f6c0388 commit a52f2bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion R/CreateArrow.R
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ createArrowFiles <- function(
if(subThreading){
h5disableFileLocking()
}else{
args$threads <- length(inputFiles)
args$threads <- max(length(inputFiles), threads)
}

args$minTSS <- NULL
Expand Down
2 changes: 1 addition & 1 deletion R/MatrixGeneScores.R
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ addGeneScoreMatrix <- function(
if(subThreading){
h5disableFileLocking()
}else{
args$threads <- length(ArrowFiles)
args$threads <- max(length(ArrowFiles), threads)
}

#Remove Input from args
Expand Down

0 comments on commit a52f2bc

Please sign in to comment.