matthiaskoenig / pkdb

Pharmacokinetics database
https://alpha.pk-db.com
30 stars 6 forks source link

Check that sum of counts on group characteristica is < group count #561

Open matthiaskoenig opened 4 years ago

matthiaskoenig commented 4 years ago

I found a few characteristica which had a larger count then the group size. This is incorrect. Add validation rule that for all characteristica the sum of counts must be <= count of group.

E.g. group count=10, but 8 || 4 count on sex (M || F). This cannot be valid.