Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lineage/lineage_t concept #2294

Open
jeromekelleher opened this issue Jul 17, 2024 · 1 comment
Open

Add Lineage/lineage_t concept #2294

jeromekelleher opened this issue Jul 17, 2024 · 1 comment
Assignees

Comments

@jeromekelleher
Copy link
Member

Currently we store the head of the segment chain to represent a lineage in both the Python and C versions. This is getting increasingly unwieldly. Replace with an object representing a lineage, and move the lineage specific things like population and label into this structure.

This will be a noisy change, but a worthwhile one.

FYI I'm on this one @GertjanBisschop

@jeromekelleher
Copy link
Member Author

This is partially done, with #2296 creating the lineage_t struct, and #2297 moving the label, population and hull attributes to this struct in the minimal working way. Follow ups will start to take advantage of this cleaner structure to refactor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant