We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f151797 commit ec49a52Copy full SHA for ec49a52
singlecell/resources/chunks/Functions.R
@@ -132,10 +132,10 @@ readSeuratRDS <- function(filePath) {
132
seuratObj <- readRDS(filePath)
133
134
# NOTE: this could be used after SeuratObject upgrades
135
- #if (!('version' %in% slotNames(seuratObj)) || package_version(seuratObj@version) < package_version('5.0.0')) {
136
- # print('Updating older seurat object')
137
- # seuratObj <- Seurat::UpdateSeuratObject(seuratObj)
138
- #}
+ if (!('version' %in% slotNames(seuratObj)) || package_version(seuratObj@version) < package_version('5.0.0')) {
+ print('Updating older seurat object')
+ seuratObj <- Seurat::UpdateSeuratObject(seuratObj)
+ }
139
140
return(seuratObj)
141
}
0 commit comments