Skip to content

Commit

Permalink
remove else clause in loadFraserObject
Browse files Browse the repository at this point in the history
  • Loading branch information
c-mertes authored May 8, 2024
1 parent be67137 commit 42d0a08
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions R/saveHDF5Objects.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ 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")
} else{
# adapt type of strandSpecific if needed (changed logical -> integer)
if(is.logical(strandSpecific(fds))){
strandSpecific(fds) <- as.integer(strandSpecific(fds))
}
}


Expand Down

0 comments on commit 42d0a08

Please sign in to comment.