HEPData / hepdata_lib

Library for getting your data into HEPData
https://hepdata-lib.readthedocs.io
MIT License
15 stars 39 forks source link

Change Zenodo record added to Submission to Concept DOI #212

Closed GraemeWatt closed 10 months ago

GraemeWatt commented 1 year ago

The __init__ method of the Submission class adds an additional resource for a Zenodo record:

https://github.com/HEPData/hepdata_lib/blob/74b90d874c4a4ffcee235c65734a4632d8293068/hepdata_lib/__init__.py#L468-L470

However, https://zenodo.org/record/4946277 corresponds specifically to v0.6.0 of hepdata_lib. Each release creates a new Zenodo record number / DOI, which will not be known prior to the release. Instead, it would be better to cite all versions by using the Concept DOI (https://doi.org/10.5281/zenodo.1217998), which will always resolve to the latest version. See https://help.zenodo.org/#versioning for more details.