Skip to content

Commit

Permalink
relocated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
csangara committed Sep 19, 2023
1 parent d988096 commit d6c5698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/Seurat.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ from_Seurat <- function(seurat_obj, output_class = c("InMemoryAnnData", "HDF5Ann
stop("X must be NULL or one of: 'counts', 'data', 'scale.data'")
}
}


Check warning on line 126 in R/Seurat.R

View workflow job for this annotation

GitHub Actions / lint

file=R/Seurat.R,line=126,col=1,[trailing_whitespace_linter] Trailing whitespace is superfluous.
# If a specific assay is selected, use it
if (!is.null(assay)) {
# If a specific assay is selected, use it
if (!assay %in% names(seurat_obj@assays)) {
stop("'assay' must be NULL or one of: ", paste0("'", names(seurat_obj@assays), "'", collapse = ", "))
}
Expand Down

0 comments on commit d6c5698

Please sign in to comment.