Skip to content

Provide TreeSequence array access to ragged columns #2426

Closed

Description

@jeromekelleher

#2424 added direct numpy access to the non-ragged table columns from the TreeSequence object. We should provide access also for the ragged columns (at some point). Some issues:

  1. Should these be direct arrays so we just reflect the original data and offset arrays or should they be decoded? (arguments both ways)
  2. We need to check that the metadata arrays are guaranteed to exist (do we allow creating a ts from tables with NO_EDGE_METADATA)?

Activity

  1. added
    enhancement
    Python API
    on Jul 21, 2022
  2. petrelharp commented on Jul 22, 2022

    @petrelharp
    Contributor

    I vote for decoded?

  3. jeromekelleher commented on Jul 22, 2022

    @jeromekelleher
    MemberAuthor

    Yeah, decoded seems most useful, I agree.

  4. moved this from Small things to Bigger things in Accessible Issueson Apr 30, 2025
  5. benjeffery commented on Jul 1, 2025

    @benjeffery
    Member

    Closed in #2632

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Python APIenhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions