Skip to content

Conversation

@immanuelazn
Copy link
Collaborator

@immanuelazn immanuelazn commented Nov 26, 2024

Details

Seurat v5 had a regression in terms of the flexibility of objects that can be imported in. Specifically, colnames are rownames are constrained to only be type character, with no smart conversions on their end as of now. As our dgEMatrix had type array for colnames and rownames, a simple switch fixes this errant behaviour. An associated error message people received was (Error in slot(object = object, name = "features")[[layer]] <- features: more elements supplied than there are to replace)

Fixes #2212, #2136, #2069, #2052, #1999, #2091, #2040

Tests

  • Ran with all unit tests on R 4.1, 4.4. Regressions with creating Seurat objects are no longer failing.

@immanuelazn immanuelazn marked this pull request as ready for review November 26, 2024 07:27
@immanuelazn immanuelazn merged commit f97e19d into dev Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants