Skip to content

Commit c46b9a3

Browse files
committed
Improve parallelization for seurat steps
1 parent d340e39 commit c46b9a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singlecell/resources/chunks/Functions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ readSeuratRDS <- function(filePath) {
176176
print('Updating future.globals.maxSize')
177177
options(future.globals.maxSize = Inf)
178178

179-
options('Seurat.memsafe' = TRUE)
179+
options('Seurat.memsafe' = TRUE, future.globals.onReference = "error")
180180

181181
if (Sys.getenv('SEURAT_MAX_THREADS') != '') {
182182
print(paste0('Setting future::plan workers to: ', Sys.getenv('SEURAT_MAX_THREADS')))

0 commit comments

Comments
 (0)