Skip to content

bit64 version 4.6.0.1 causing cryptic soma_joinid error #4462

@sarahhp

Description

@sarahhp

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions