MIT-LCP / physionet-build

The new PhysioNet platform.

Home Page:https://physionet.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating DOI changes publication year

bemoody opened this issue · comments

console.utility.generate_doi_payload generates the JSON metadata that is sent to the DataCite API, either to register, publish, or update a DOI.

This includes:

                "publicationYear": timezone.now().year,

which seems very wrong.

Good catch!

When creating the DOI for core_projects (which points to the latest version of the project), do you agree that we should set the PublicationYear to the latest version of the project?

Yeah, I think the core project DOI info should match the latest version, including publication year.

I'm not sure what happens right now if you go to a "non-latest-version" management page and click "Update metadata (core)".