From 9d397fbccc5c2ba727d1d8c1e89a08581c7b247f Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 14 Jan 2021 00:47:01 +0100 Subject: add case (article, comment) currently, status is STRONG; having article and comments attached to a single work item might be useful --- tests/data/release/bhrbuu3sijgtpbu4nsquk3ykba | 42 +++++++++++++++++++++++++++ tests/data/release/vfdeyz6khrflxivy5n2byocmjy | 32 ++++++++++++++++++++ tests/data/verify.csv | 1 + 3 files changed, 75 insertions(+) create mode 100644 tests/data/release/bhrbuu3sijgtpbu4nsquk3ykba create mode 100644 tests/data/release/vfdeyz6khrflxivy5n2byocmjy diff --git a/tests/data/release/bhrbuu3sijgtpbu4nsquk3ykba b/tests/data/release/bhrbuu3sijgtpbu4nsquk3ykba new file mode 100644 index 0000000..1b96b3a --- /dev/null +++ b/tests/data/release/bhrbuu3sijgtpbu4nsquk3ykba @@ -0,0 +1,42 @@ +{ + "abstracts": [], + "container_id": "td5cjnem25b35nugn4qftmwcna", + "contribs": [ + { + "extra": { + "seq": "first" + }, + "index": 0, + "raw_name": "Caryn Bern", + "role": "author" + } + ], + "ext_ids": { + "doi": "10.1056/nejmct1014204", + "pmid": "21714649", + "wikidata_qid": "Q37895691" + }, + "extra": { + "crossref": { + "alternative-id": [ + "10.1056/NEJMct1014204" + ], + "type": "journal-article" + } + }, + "ident": "bhrbuu3sijgtpbu4nsquk3ykba", + "issue": "26", + "language": "en", + "pages": "2527-2534", + "publisher": "New England Journal of Medicine (NEJM/MMS)", + "refs": [], + "release_date": "2011-06-30", + "release_stage": "published", + "release_type": "article-journal", + "release_year": 2011, + "revision": "04d557af-42c1-4460-a008-fec7a4e5b29f", + "state": "active", + "title": "Antitrypanosomal Therapy for Chronic Chagas' Disease", + "volume": "364", + "work_id": "3eydmicsbfbcveljmy37zvud2q" +} diff --git a/tests/data/release/vfdeyz6khrflxivy5n2byocmjy b/tests/data/release/vfdeyz6khrflxivy5n2byocmjy new file mode 100644 index 0000000..8482b65 --- /dev/null +++ b/tests/data/release/vfdeyz6khrflxivy5n2byocmjy @@ -0,0 +1,32 @@ +{ + "abstracts": [], + "container_id": "td5cjnem25b35nugn4qftmwcna", + "contribs": [], + "ext_ids": { + "doi": "10.1056/nejmc1108653", + "pmid": "21991909" + }, + "extra": { + "crossref": { + "alternative-id": [ + "10.1056/NEJMc1108653" + ], + "type": "journal-article" + } + }, + "ident": "vfdeyz6khrflxivy5n2byocmjy", + "issue": "13", + "language": "en", + "pages": "1258-1259", + "publisher": "New England Journal of Medicine (NEJM/MMS)", + "refs": [], + "release_date": "2011-09-29", + "release_stage": "published", + "release_type": "article-journal", + "release_year": 2011, + "revision": "e503fe7b-aa55-4c3f-93c5-89391e69ff1e", + "state": "active", + "title": "Antitrypanosomal Therapy for Chronic Chagas' Disease", + "volume": "365", + "work_id": "6ztmi5xqqfdubdjoyk7uol6wmi" +} diff --git a/tests/data/verify.csv b/tests/data/verify.csv index 5b9bc7e..8ff6f69 100644 --- a/tests/data/verify.csv +++ b/tests/data/verify.csv @@ -246,3 +246,4 @@ ex2u4mgrpffp3asznccqd6n35q,zwpq2nocbzcixl6sswabsjg4ti,Status.DIFFERENT,CONTRIB_I 2wx322n7pvbyxnbbrqrvbp7p74,lhgtefitvbd5lf6prb76mrgcci,Status.STRONG,JACCARD_AUTHORS 4mvqmzsmofckjdcy7zippajceu,qjavgacwznftlancwzxldtjt6y,Status.DIFFERENT,SHARED_DOI_PREFIX 2fok7qpz5nbofay762elgqklwa,c5ui7bgop5bfpk67l7ngvr4uxy,Status.STRONG,TITLE_ARTIFACT +bhrbuu3sijgtpbu4nsquk3ykba,vfdeyz6khrflxivy5n2byocmjy,, -- cgit v1.2.3