From e6feb6fd6d48f7b179389e79dfeb994d1b0f797b Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Sat, 4 Jan 2020 00:19:56 +0100 Subject: datacite: always include "datacite" key in extra > always include extra values for the respective DOI registrars (datacite, crossref, jalc), even if they are empty ({}), to be used as a flag so we know which DOI registrar supplied the metadata. --- python/tests/files/datacite/datacite_result_23.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/tests/files/datacite/datacite_result_23.json') diff --git a/python/tests/files/datacite/datacite_result_23.json b/python/tests/files/datacite/datacite_result_23.json index 46f60492..f79053df 100644 --- a/python/tests/files/datacite/datacite_result_23.json +++ b/python/tests/files/datacite/datacite_result_23.json @@ -1,5 +1,5 @@ { - "extra": {}, + "extra": {"datacite": {}}, "title": "ABC", "release_type": "article", "release_stage": "published", @@ -19,4 +19,4 @@ ], "refs": [], "abstracts": [] -} \ No newline at end of file +} -- cgit v1.2.3