matthiaskoenig / pkdb

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

Duplicate annotations on InfoNodes #696

Open matthiaskoenig opened 3 years ago

matthiaskoenig commented 3 years ago

If annotations come from multiple sources this could be duplicated. Example idrocilamide has multiple identical inchikeys.

This should either be handled during creating of the annotations in pkdb_data or via enforcing unique_together on the annotation (and xref) django models.