Skip to content

Consider making TreeSequence and TableCollection classes richer by containing NodesTable, EdgeTable, ... #138

@gregorgorjanc

Description

@gregorgorjanc

Currently we have tc$node_table_add_row() etc. because tc is a TableCollection class with xptr element in it. As such, this resembles C code (so our current implementation looks like a hybrid between C & Python!), while Python code is looks like tc.nodes.add_row() since each table has its own class and associated Python methods. We could mirror such a structure by adding NodeTable, EdgeTable, ... elements to TableCollection, which would be pointers to the tables within the xptr!?

Or we just clearly state that our method/function calls resemble C functions!?

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