Open mjz1 opened 8 months ago
I've just noticed you mention this in the changelog:
all_matrix_inputs()
. Outside of
loading old RDS files no changes should be needed.I'll close the issue
Hi @mjz1, sorry about the breakage. Is it clear to you how to update your RDS file to work with the new version? In short, I think it would be something like this:
mat <- readRDS("some_file.rds")
inputs <- all_matrix_inputs(mat)
for (i in seq_along(inputs)) {
if (is(inputs[[i]], "10xMatrixH5")) {
inputs[[i]] <- open_matrix_10x_hdf5(inputs[[i]]@path)
}
}
all_matrix_inputs(mat) <- inputs
I apologize for the inconvenience of this breaking change -- I couldn't see a way to add the intended features without introducing some breakage, but I can look into improving the error message
I think the recent commits might have done something to break matrix coercion in certain cases. Apologies I don't have a reproducible example, but reverting back to commit 919983d solved the issue.
Running
If it helps my object is as follows: