From 9ae53f6468fc78c5f98a2f85e11f9bf5a18d3386 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Mon, 1 Feb 2021 16:29:38 +0100 Subject: add case --- tests/data/release/cjalthavzzgptho5pbo3mjhopy | 115 ++++++++++++++++++++++++++ tests/data/release/oywpkran5rfdnof3gs4lywqr6m | 55 ++++++++++++ tests/data/verify.csv | 1 + 3 files changed, 171 insertions(+) create mode 100644 tests/data/release/cjalthavzzgptho5pbo3mjhopy create mode 100644 tests/data/release/oywpkran5rfdnof3gs4lywqr6m diff --git a/tests/data/release/cjalthavzzgptho5pbo3mjhopy b/tests/data/release/cjalthavzzgptho5pbo3mjhopy new file mode 100644 index 0000000..e874840 --- /dev/null +++ b/tests/data/release/cjalthavzzgptho5pbo3mjhopy @@ -0,0 +1,115 @@ +{ + "abstracts": [], + "container_id": "iwcbrlwz6jeb3pk2sbk3xrvkty", + "contribs": [ + { + "extra": { + "seq": "first" + }, + "index": 0, + "raw_name": "Charles F. Reynolds", + "role": "author" + }, + { + "index": 1, + "raw_name": "David A. Lewis", + "role": "author" + }, + { + "index": 2, + "raw_name": "Thomas Detre", + "role": "author" + }, + { + "index": 3, + "raw_name": "Alan F. Schatzberg", + "role": "author" + }, + { + "index": 4, + "raw_name": "David J. Kupfer", + "role": "author" + } + ], + "ext_ids": { + "doi": "10.1097/acm.0b013e31819a8052", + "pmcid": "PMC2769014", + "pmid": "19318776", + "wikidata_qid": "Q37402696" + }, + "extra": { + "crossref": { + "type": "journal-article" + }, + "pubmed": { + "pub_types": [ + "Journal Article" + ] + }, + "subtitle": [ + "" + ] + }, + "ident": "cjalthavzzgptho5pbo3mjhopy", + "language": "en", + "pages": "446-450", + "publisher": "Ovid Technologies (Wolters Kluwer Health)", + "refs": [ + { + "extra": { + "pmid": "12090819", + "unstructured": "Arch Gen Psychiatry. 2002 Jul;59(7):657-60" + }, + "index": 0, + "target_release_id": "iwaippuonvfr7omxhkh32lkpky" + }, + { + "extra": { + "pmid": "12813122", + "unstructured": "JAMA. 2003 Jun 18;289(23):3161-6" + }, + "index": 1, + "target_release_id": "h5tabiz6jneznigyk54avphfwa" + }, + { + "extra": { + "pmid": "3578570", + "unstructured": "Am J Psychiatry. 1987 May;144(5):621-5" + }, + "index": 2, + "target_release_id": "4ntytmk2offdlprrglgjioqw4u" + }, + { + "extra": { + "pmid": "9075459", + "unstructured": "Arch Gen Psychiatry. 1997 Mar;54(3):201-4" + }, + "index": 3, + "target_release_id": "n5sdl4en5rburexc3wyz6nh46m" + }, + { + "extra": { + "pmid": "17679633", + "unstructured": "Arch Gen Psychiatry. 2007 Aug;64(8):886-92" + }, + "index": 4, + "target_release_id": "raeriprihfbyvlwymf5zsn4fea" + }, + { + "extra": { + "pmid": "18505948", + "unstructured": "JAMA. 2008 May 28;299(20):2391-400" + }, + "index": 5, + "target_release_id": "lhvy2wdwzvby7h3i7kkmf3d4jm" + } + ], + "release_stage": "published", + "release_type": "article-journal", + "release_year": 2009, + "revision": "13c58dfd-d4bf-41ca-8bff-504053b05f8c", + "state": "active", + "title": "The Future of Psychiatry as Clinical Neuroscience", + "volume": "84", + "work_id": "n3i4kgaqinfg5murzatwznnkua" +} diff --git a/tests/data/release/oywpkran5rfdnof3gs4lywqr6m b/tests/data/release/oywpkran5rfdnof3gs4lywqr6m new file mode 100644 index 0000000..311350e --- /dev/null +++ b/tests/data/release/oywpkran5rfdnof3gs4lywqr6m @@ -0,0 +1,55 @@ +{ + "abstracts": [], + "container_id": "dysoj6ukqzbmnecr2bnq4lry3m", + "contribs": [ + { + "extra": { + "seq": "first" + }, + "index": 0, + "raw_affiliation": "Department of Psychiatry, Yale School of Medicine, New Haven, Connecticut", + "raw_name": "David A. Ross", + "role": "author" + }, + { + "index": 1, + "raw_affiliation": "Department of Psychiatry, University of Pittsburgh School of Medicine, Pittsburgh, Pennsylvania", + "raw_name": "Michael J. Travis", + "role": "author" + }, + { + "index": 2, + "raw_affiliation": "Department of Psychiatry, Columbia University Medical Center, New York, New York", + "raw_name": "Melissa R. Arbuckle", + "role": "author" + } + ], + "ext_ids": { + "doi": "10.1001/jamapsychiatry.2014.3199", + "pmcid": "PMC5347976", + "pmid": "25760896", + "wikidata_qid": "Q37696649" + }, + "extra": { + "crossref": { + "type": "journal-article" + }, + "subtitle": [ + "Why Not Now?" + ] + }, + "ident": "oywpkran5rfdnof3gs4lywqr6m", + "language": "en", + "pages": "413", + "publisher": "American Medical Association (AMA)", + "refs": [], + "release_date": "2015-05-01", + "release_stage": "published", + "release_type": "article-journal", + "release_year": 2015, + "revision": "73ae4ae3-c9a8-473b-9b1f-845fe2f6b5fe", + "state": "active", + "title": "The Future of Psychiatry as Clinical Neuroscience", + "volume": "72", + "work_id": "2rorcsd4irhtjfc5h4ufd3ca7a" +} diff --git a/tests/data/verify.csv b/tests/data/verify.csv index 4e8d62b..396bfcb 100644 --- a/tests/data/verify.csv +++ b/tests/data/verify.csv @@ -262,3 +262,4 @@ fw244fmwsrdfrl4mjl3ckcs45y,u6lcelownrcsrdipzdozitqyoa,Status.EXACT,TITLE_AUTHOR_ fw244fmwsrdfrl4mjl3ckcs45y,wxyhypd6xfgi5ko3rx7jjfsdku,Status.EXACT,TITLE_AUTHOR_MATCH u6lcelownrcsrdipzdozitqyoa,wxyhypd6xfgi5ko3rx7jjfsdku,Status.EXACT,TITLE_AUTHOR_MATCH 5bnwy5gmszazpnqv7bzapcd5ye,5xmh37eo3raynciuafpy2nfcxi,, +cjalthavzzgptho5pbo3mjhopy,oywpkran5rfdnof3gs4lywqr6m,Status.DIFFERENT,SUBTITLE -- cgit v1.2.3