Skip to content

Commit

Permalink
Merge pull request satijalab#199 from satijalab/fix/update-seurat-object
Browse files Browse the repository at this point in the history
Use `packageVersion("SeuratObject")` in `UpdateSeuratObject()`
  • Loading branch information
dcollins15 authored May 3, 2024
2 parents 0218527 + 37f2e5e commit ed0fb40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: SeuratObject
Type: Package
Title: Data Structures for Single Cell Data
Version: 5.0.1.9008
Version: 5.0.1.9009
Authors@R: c(
person(given = 'Paul', family = 'Hoffman', email = '[email protected]', role = 'aut', comment = c(ORCID = '0000-0002-7693-8957')),
person(given = 'Rahul', family = 'Satija', email = '[email protected]', role = c('aut', 'cre'), comment = c(ORCID = '0000-0001-9448-8833')),
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Unreleased

## Changes:
- Add `...` to call signature for `Radius` generic
- Properly re-export `%||%` from rlang (#178)
- Class key-based warnings (#180)
- Require R 4.1 (#180)
- Fix errors in `UpdateSeuratObject` (@ddiez, #182)
- Add `...` to call signature for `Radius` generic (#190)
- Fix bug in `PolyVtx` (#194)
- Fix bug in feature-level subsetting (#200)
- Update `UpdateSeuratObject` to run without `Seurat` installed (#199)

# SeuratObject 5.0.1

Expand Down
2 changes: 1 addition & 1 deletion R/seurat.R
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ UpdateSeuratObject <- function(object) {
)
}
# Update object version
slot(object = object, name = 'version') <- packageVersion(pkg = 'Seurat')
slot(object = object, name = 'version') <- packageVersion(pkg = 'SeuratObject')
}
object <- suppressWarnings(
expr = UpdateSlots(object = object),
Expand Down

0 comments on commit ed0fb40

Please sign in to comment.