Skip to content

Design a .raw / layer integration path for VCSCAnnData #27

Description

@fishidaho

VCSCAnnData.raw_X (src/vsparse/_anndata_class.py) is a bolted-on plain attribute and explicitly not wired into anndata's own .raw/Raw machinery, per the class docstring, because that machinery has the same type-validation restriction that required VCSCAnnData to override X in the first place. The same is true of layers. This is a real, working escape hatch today, but it means .raw and layers don't behave like anndata users expect.

Proposed scope

  • Does .raw stay a separate, non-standard attribute indefinitely, or is there a path to making it interoperate with anndata's real .raw for callers that need it (e.g. by exposing a decompressed view lazily on access)?
  • Same question for layers holding VCS-typed arrays vs. plain scipy ones.
  • How this interacts with Design a composable lazy Selection object for VCSCAnnData #25 's Selection object. Does a lazy selection need to carry .raw/layer filters through composition the same way it does for X?

References

  • src/vsparse/_anndata_class.py class docstring.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is neededquestionFurther information is requested

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions