Skip to content

Port functions to add multiple rows into tables #143

@gregorgorjanc

Description

@gregorgorjanc

Issue HighlanderLab/AlphaSimR#21 is about converting local trees from MaCS into a tree sequence, meaning that we will have multiple nodes, edges, mutations, etc. We can add these one by one into the table collection using the add_row methods. When we implemented the add_row methods (which are for adding one row at a time), I noticed that there are also methods to add "batches" of rows at once (I assume that these methods iterate over each item of the "batch"), for example https://tskit.dev/tskit/docs/stable/c-api.html#c.tsk_individual_table_append_columns. Keep this in mind @LynxJinyangii as you work on HighlanderLab/AlphaSimR#21.

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