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

In reproductive routing table, "from" should be unique #11

Open
mnlevy1981 opened this issue Jan 14, 2022 · 1 comment
Open

In reproductive routing table, "from" should be unique #11

mnlevy1981 opened this issue Jan 14, 2022 · 1 comment

Comments

@mnlevy1981
Copy link
Collaborator

There are some assert statements in other parts of the code that force some linking types to have unique indices; that should be matched in the reproduction_routing type

@matt-long
Copy link
Contributor

matt-long commented Jan 19, 2022

See example in food_web:

assert len(set(pred_prey)) == len(pred_prey), 'non-unique predator-prey relationships'

However, I think we want each parent to appear only once and each child to appear only once.

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

2 participants