paleobot / pbot-dev

Codebase and initial design documents for pbot client
MIT License
2 stars 2 forks source link

substates do not record parent state info #144

Open doricon opened 1 year ago

doricon commented 1 year ago

When entering character instances, if you chose a substate, the parent state is not recorded. This info is very important to have recorded, can this be automated?

For example: character: Margin type State untoothed State toothed substate dentate substate serrate substate crenate.

If I choose dentate, the fact that it is "toothed" is not recorded. Currently I would have to make two character instances to record the margin type being toothed:dentate.

We need to have parent states recorded for search and matching purposes, given that for some fossils you may know the parent state but not the substate.

aazaff commented 12 months ago

Will this always be the case - i.e., will we ALWAYS want the state to substate relationship in ALL schemas?

doricon commented 12 months ago

Yes, Botany team has conferred, and yes definitely we will ALWAYS want the parent states recorded too.