materialsproject / MPContribs

Platform for materials scientists to contribute and disseminate their materials data through Materials Project
https://mpcontribs.org
MIT License
34 stars 20 forks source link

Dataset doesn't seem to download (shows 0%, then progress percentage goes away) #959

Open sgbaird opened 2 years ago

sgbaird commented 2 years ago

https://contribs.materialsproject.org/projects/carrier_transport

Tried CSV, JSON, with and without tables. Maybe has to do with the dataset being fairly large? Tried on Google Chrome Win 10. A colleague of mine ran into the same problem (@AndrewFalkowski) and I ran into the same issue. Incidentally, we can download the data via https://datadryad.org/stash/dataset/doi:10.5061/dryad.gn001 (using the "References" link in the top-left), so it's non-blocking on our workflow, but figured it was worth mentioning.

tschaume commented 2 years ago

Hi @sgbaird (and @AndrewFalkowski),

really appreciate you reaching out to me and alerting me to the issue with the download button. You indeed found a tricky bug that one of my recent updates unintentionally introduced. I'll work on getting it fixed and keep you posted.

As for retrieving and downloading contributions programmatically, you can use the python client library mpcontribs-client. I've uploaded an example notebook for querying and downloading results here.

thanks, Patrick