Skip to content

Commit

Permalink
👽️ Update opening TileDBSoma artifacts for v1
Browse files Browse the repository at this point in the history
  • Loading branch information
lazappi committed Jan 20, 2025
1 parent 24f5a5f commit 370b870
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/Artifact.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ ArtifactRecord <- R6::R6Class( # nolint object_name_linter
#' @return A [tiledbsoma::SOMACollection] or [tiledbsoma::SOMAExperiment]
#' object
open = function() {
is_tiledbsoma <- private$get_value("suffix") == ".tiledbsoma" ||
private$get_value("_accessor") == "tiledbsoma"
is_tiledbsoma <- private$get_value("otype") == "tiledbsoma"

if (!is_tiledbsoma) {
cli::cli_abort(
Expand Down

0 comments on commit 370b870

Please sign in to comment.