File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
SequenceAnalysis/resources/queries/sequenceanalysis
singlecell/resources/chunks Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function beforeInsert(row, errors){
1919 beforeUpsert ( row , errors ) ;
2020}
2121
22- function beforeUpdate ( row , errors ) {
22+ function beforeUpdate ( row , oldRow , errors ) {
2323 beforeUpsert ( row , errors ) ;
2424}
2525
Original file line number Diff line number Diff line change @@ -180,5 +180,10 @@ options('Seurat.memsafe' = TRUE)
180180
181181if (Sys.getenv(' SEURAT_MAX_THREADS' ) != ' ' ) {
182182 print(paste0(' Setting future::plan workers to: ' , Sys.getenv(' SEURAT_MAX_THREADS' )))
183- future :: plan(strategy = ' multisession' , workers = Sys.getenv(' SEURAT_MAX_THREADS' ))
183+ mt <- as.integer(Sys.getenv(' SEURAT_MAX_THREADS' ))
184+ if (is.na(mt )) {
185+ stop(paste0(' SEURAT_MAX_THREAD is not an integer: ' , mt <- Sys.getenv(' SEURAT_MAX_THREADS' )))
186+ }
187+
188+ future :: plan(strategy = ' multisession' , workers = mt )
184189}
You can’t perform that action at this time.
0 commit comments