Skip to content

Optimize ProcessTable._get_adata() for .obs-only updates #233

@ArneDefauw

Description

@ArneDefauw

ProcessTable._get_adata() currently always does adata.copy(). This is safe, but can be unnecessarily expensive for workflows that only update .obs and then write the table back with add_table_layer().

Suggested direction:

add a lighter-weight helper such as _get_adata_obs_editable(), or
investigate whether _get_adata(copy=False) would be safe

Goal:

support metadata-only table updates more efficiently

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions