Skip to content

Commit

Permalink
Revert "remove else clause"
Browse files Browse the repository at this point in the history
This reverts commit 4b69ccb.
  • Loading branch information
ischeller committed May 10, 2024
1 parent 4b69ccb commit 4d8f91e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/saveHDF5Objects.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ loadFraserDataSet <- function(dir, name=NULL, file=NULL, upgrade=FALSE){
# ensure strandSpecific slot is up-to-date with new vector format
if("strandSpecific" %in% slotNames(fds)){
strandSpecific(fds) <- slot(fds, "strandSpecific")
}


e <- try(assays(fds), silent=TRUE)
if(is.error(e)){
if(grepl("DelayedMatrix .* representation .* Please update it ",
as.character(e))){
if(isTRUE(upgrade)){
Expand Down

0 comments on commit 4d8f91e

Please sign in to comment.