Skip to content

Commit

Permalink
fixes #41
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-robo committed Jul 31, 2024
1 parent 57f52e1 commit 878bf13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/spicy.R
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ getPairwise <- function(
spatialCoordCols = c("x", "y")) {
if (is(cells, "SummarizedExperiment")) {
cells <- .format_data(
cells, imageIDCol, cellTypeCol, spatialCoordCols
cells, imageIDCol, cellTypeCol, spatialCoordCols, FALSE
)
}

Expand Down
2 changes: 1 addition & 1 deletion R/utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ isKonditional <- function(konditionalResult) {
#' @importFrom cli cli_abort cli_inform
#' @noRd
.format_data <- function(
cells, imageIDCol, cellTypeCol, spatialCoordCols, verbose) {
cells, imageIDCol, cellTypeCol, spatialCoordCols, verbose = FALSE) {
if (is(cells, "data.frame")) {
# pass
} else if (is(cells, "SpatialExperiment")) {
Expand Down

0 comments on commit 878bf13

Please sign in to comment.