Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
msuchard authored Dec 16, 2024
1 parent 6c69811 commit 17ddc53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/Object.R
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,9 @@ setMethod("close", "Andromeda", function(con, ...) {
})

checkIfValid <- function(x) {
if (!isValidAndromeda(x))
if (!isValidAndromeda(x)) {
rlang::abort("Andromeda object is no longer valid. Perhaps it was saved without maintainConnection = TRUE, or R has been restarted?")
}
}

#' Is the object an Andromeda table?
Expand Down

0 comments on commit 17ddc53

Please sign in to comment.