Skip to content

Commit

Permalink
fix errors when using only 1 local sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ischeller committed Apr 6, 2023
1 parent 430479c commit 25ad87a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ suppressPackageStartupMessages({
ods <- readRDS(snakemake@input$ods)

has_external <- any(as.logical(colData(ods)$isExternal))
cnts_mtx_local <- counts(ods, normalized = F)[,!as.logical(ods@colData$isExternal)]
cnts_mtx_local <- counts(ods, normalized = F)[,!as.logical(ods@colData$isExternal),drop=FALSE]
cnts_mtx <- counts(ods, normalized = F)

#' ## Number of samples:
Expand Down
2 changes: 1 addition & 1 deletion drop/modules/aberrant-splicing-pipeline/config.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ extract_params <- function(params) {
unlist(params)[1]
}

options("FRASER.maxSamplesNoHDF5"=1)
options("FRASER.maxSamplesNoHDF5"=0)
options("FRASER.maxJunctionsNoHDF5"=-1)

h5disableFileLocking()
Expand Down

0 comments on commit 25ad87a

Please sign in to comment.