matthiaskoenig / pkdb

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

Empty download file for interventions #683

Closed Gotsmy closed 3 years ago

Gotsmy commented 3 years ago

Great Project! I have one issue though:

I tried to download a whole study (as shown in pkdb_api.ipynb) with this url: https://pk-db.com/api/v1/filter/?studies__name=Abernethy1985&download=true, but the interventions.csv file is empty.

But when I request the interventions via the uuid (https://pk-db.com/api/v1/interventions/?uuid=6f4bba72-9ce2-46f0-be7a-789e0a17b289&format=json) i get a non-empty file back (that also lists Abernethy1985 as study).

matthiaskoenig commented 3 years ago

@Gotsmy Thanks for the report. We will fix the issue within the next few days. @janekg89 Make this a priority.

janekg89 commented 3 years ago

With a new deployment, the bug should be fixed.

matthiaskoenig commented 3 years ago

Changes are deployed on the server. The upload of the data takes another ~30 minutes. @Gotsmy feel free to test with another already uploaded study for now.

Best Matthias

Gotsmy commented 3 years ago

Works like a charm!

Thank you & best, Mathias