matthiaskoenig / pkdb

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

Individuals not uploading correctly from table without groupby #578

Closed matthiaskoenig closed 4 years ago

matthiaskoenig commented 4 years ago

Individuals are duplicated from table upload if no "groupby": "name", is provided. This should not happen. By default a groupby must happen on name for groups, interventions and individuals because this is the unique id these information is grouped on.

Perform groupby on name by default if mapping syntax is used (name:col==name). E.g. torasemide/Spahn1990 if groupby is removed from individuals.