Skip to content

Commit d95f0b0

Browse files
author
Chen Ying
committed
set nthread config for xgboost so that 1 thread is used for 1 xgboost
1 parent 22ebd56 commit d95f0b0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

R/bambu.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ bambu <- function(reads, annotations = NULL, genome = NULL, NDR = NULL,
181181

182182
emParameters <- setEmParameters(emParameters = opt.em)
183183
bpParameters <- setBiocParallelParameters(reads, ncore, verbose, demultiplexed)
184+
xgb.set.config(nthread = 1)
184185
# only when reads is not NULL, this proceed, otherwise, it will jump to quant step
185186
if(!is.null(reads)){
186187
rm.readClassSe <- FALSE

0 commit comments

Comments
 (0)