Skip to content

Error message points to wrong path #1154

Description

@timtreis

SpatialData v0.7.3 warns with

ValidationError: Table contains invalid names.
For renaming, please see the discussion here https://github.com/scverse/spatialdata/discussions/707 .
To fix, run `spatialdata.utils.sanitize_table(adata)`.
  uns/CODEX resolution: Name must contain only alphanumeric characters, underscores, dots and hyphens.
  uns/H&E resolution: Name must contain only alphanumeric characters, underscores, dots and hyphens.

but spatialdata.utils.sanitize_table(adata) is incorrect, should be spatialdata.sanitize_table(adata).

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