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

Entering diet ecology data changes basis for life habit #196

Open
mclapham opened this issue Sep 27, 2022 · 0 comments
Open

Entering diet ecology data changes basis for life habit #196

mclapham opened this issue Sep 27, 2022 · 0 comments

Comments

@mclapham
Copy link

We've been updating ecology information for some decapods and have run across some weird behavior that seems like it's probably a bug.

When updating diet/feeding mode, it forces the life_habit_basis to be at the same taxonomic level as the diet_basis. As a result, the life habit is blank unless something is entered at the same taxonomic level as the diet. This isn't ideal, because the whole point of the ecology system is that it inherits the trait from higher in the tree, and diet and life habit don't always correlate (i.e. we often want to set diet at one taxonomic level and life habit at another).

The reverse action, updating the life habit for a group, doesn't change diet_basis or any of the other fields. The motility_basis and vision_basis fields are not changed when entering diet, only life_habit_basis. We haven't tried updating motility or vision, so we don't know how or if those affect other fields. It seems like a bug because it's only editing diet that causes the change in life_habit_basis and apparently nothing else.

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

No branches or pull requests

2 participants