showyourwork / showyourwork

A workflow for reproducible and open scientific articles

Home Page:https://show-your.work

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an option for reserving a DOI from Zenodo

nstarman opened this issue · comments

When you're near to finalizing a paper there's no way to put in the Zenodo information without publishing the datasets, transferring from the Sandbox. However it's possible to reserve a DOI. Perhaps showyourwork cache reserve could be added to reserve a DOI before actually publishing.
Thanks!

The Zenodo caching features are so brittle and hard to test that adding any features (let alone maintaining existing features) is extremely low priority on my end. The workflow I typically use is to split the parts of the workflow that require caching out separately and upload the results to Zenodo manually rather than using this interface.

Just following up here, I'm finding caching on Zenodo Sandbox just not working. I'll see:

User authentication for 10.5072/zenodo.XXXXX is valid.

and I see the record online. However, when running showyourwork build , during the rules that do caching I'll get:

Zenodo error 404: The persistent identifier is not registered.
InputFunctionExceptionin line 41 of ~/showyourwork/lib/python3.10/site-packages/showyourwork/workflow/rules/compile.smk:
Error:
  ZenodoError: 
Wildcards: