Skip to content

Commit

Permalink
Add comment explaining option usage
Browse files Browse the repository at this point in the history
PR feedback #2523 (comment)
  • Loading branch information
mojaveazure committed Oct 31, 2024
1 parent 02b9a8f commit 7292e8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis/r/R/write_seurat.R
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,8 @@ write_soma.Seurat <- function(
platform_config = NULL,
tiledbsoma_ctx = NULL
) {
# Allow writing `soma_` prefixed columns to SOMADataFrames
# (normally disallowed as a reserved prefix)
op <- options(tiledbsoma.write_soma.internal = TRUE)
on.exit(options(op), add = TRUE, after = FALSE)
check_package("SeuratObject", version = .MINIMUM_SEURAT_VERSION())
Expand Down

0 comments on commit 7292e8b

Please sign in to comment.