On write_soma with a seurat object, the following error is triggered when adding feature-level metadata:
Error in $<-.data.frame(*tmp*, "soma_joinid", value = numeric(0)) :
replacement has 0 rows, data has 100
Calls: write_soma ... tryCatch -> tryCatchList -> tryCatchOne ->
On non-default assays this is issued as a warning. Context specific; on a singularity VM no error even with the same R install. Traced the error back to # Add `soma_joinid` to `x` block in write_soma.dataframe.
Fix:
Updating bit64 package to v4.8.0 resolved the issue for me. e.g. install.packages("bit64").
Versions:
- TileDB-SOMA version: 2.3.0
- TileDB core version (libtiledbsoma): 2.30.0
- Language and language version (e.g. Python 3.9, R 4.3.2): R 4.5.0
- OS (e.g. MacOS, Ubuntu Linux): Rocky Linux 8.10 (Green Obsidian) / x86_64-pc-linux-gnu
Thanks for a great package!
On write_soma with a seurat object, the following error is triggered when adding feature-level metadata:
Error in
$<-.data.frame(*tmp*, "soma_joinid", value = numeric(0)) :replacement has 0 rows, data has 100
Calls: write_soma ... tryCatch -> tryCatchList -> tryCatchOne ->
On non-default assays this is issued as a warning. Context specific; on a singularity VM no error even with the same R install. Traced the error back to
# Add `soma_joinid` to `x`block in write_soma.dataframe.Fix:
Updating bit64 package to v4.8.0 resolved the issue for me. e.g. install.packages("bit64").
Versions:
Thanks for a great package!