matthiaskoenig / pkdb

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

Remove `name` from reference.json #688

Closed matthiaskoenig closed 3 years ago

matthiaskoenig commented 3 years ago

The name on the reference.json creates many issues. The name should not be there! There is only a one way link from study -> reference via the sid of the reference. I get often errors of the kind:

{
  "name": [
    "add name to reference.json"
  ]
}

which just don't make any sense.

Having the name on the reference.json is just a hack to fix something else (I assume to connect the two files after upload because they are in two different requests).