File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
singlecell/resources/chunks Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -130,10 +130,12 @@ addErrorMessage <- function(f) {
130130
131131readSeuratRDS <- function (filePath ) {
132132 seuratObj <- readSeuratRDS(filePath )
133- if (! (' version' %in% slotNames(seuratObj )) || package_version(seuratObj @ version ) < package_version(' 5.0.0' )) {
134- print(' Updating older seurat object' )
135- seuratObj <- Seurat :: UpdateSeuratObject(seuratObj )
136- }
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+ # }
137139
138140 return (seuratObj )
139141}
You can’t perform that action at this time.
0 commit comments