From e5bcf8ba46b6851b677078358b7ffd26072c2523 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 11 Dec 2020 02:17:06 +0100 Subject: add generic doi version case --- tests/data/release/6kuxfopbcjcrdnhvfokjgbd5wm | 67 +++++++++++++++++++++++++++ tests/data/release/c43itb7esjc3heb64xbohigqge | 20 ++++++++ tests/data/verify.csv | 3 +- 3 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 tests/data/release/6kuxfopbcjcrdnhvfokjgbd5wm create mode 100644 tests/data/release/c43itb7esjc3heb64xbohigqge (limited to 'tests/data') diff --git a/tests/data/release/6kuxfopbcjcrdnhvfokjgbd5wm b/tests/data/release/6kuxfopbcjcrdnhvfokjgbd5wm new file mode 100644 index 0000000..9e028a8 --- /dev/null +++ b/tests/data/release/6kuxfopbcjcrdnhvfokjgbd5wm @@ -0,0 +1,67 @@ +{ + "abstracts": [], + "container_id": "tfncqskjxjgbvilbdcq654of3m", + "contribs": [ + { + "creator_id": "xf7grzc3gjfg5kbwbgfvppmn5m", + "extra": { + "seq": "first" + }, + "index": 0, + "raw_affiliation": "Electronic Materials Research\nDivision, Osaka Municipal Technical Research Institute, Joto-ku, Osaka 536-8553, Japan", + "raw_name": "Tsutomu Shinagawa", + "role": "author" + }, + { + "index": 1, + "raw_affiliation": "Electronic Materials Research\nDivision, Osaka Municipal Technical Research Institute, Joto-ku, Osaka 536-8553, Japan", + "raw_name": "Mitsuru Watanabe", + "role": "author" + }, + { + "index": 2, + "raw_affiliation": "Electronic Materials Research\nDivision, Osaka Municipal Technical Research Institute, Joto-ku, Osaka 536-8553, Japan", + "raw_name": "Jun-ichi Tani", + "role": "author" + }, + { + "index": 3, + "raw_affiliation": "Electronic Materials Research\nDivision, Osaka Municipal Technical Research Institute, Joto-ku, Osaka 536-8553, Japan", + "raw_name": "Masaya Chigane", + "role": "author" + } + ], + "ext_ids": { + "doi": "10.1021/acs.cgd.7b00396" + }, + "extra": { + "crossref": { + "alternative-id": [ + "10.1021/acs.cgd.7b00396" + ], + "funder": [ + { + "DOI": "10.13039/501100001700", + "award": [], + "doi-asserted-by": "publisher", + "name": "Ministry of Education, Culture, Sports, Science and Technology" + } + ], + "type": "journal-article" + } + }, + "ident": "6kuxfopbcjcrdnhvfokjgbd5wm", + "language": "en", + "pages": "3826-3833", + "publisher": "American Chemical Society (ACS)", + "refs": [], + "release_date": "2017-06-08", + "release_stage": "published", + "release_type": "article-journal", + "release_year": 2017, + "revision": "feea6f2d-0996-4e3a-bd8d-1c543a228699", + "state": "active", + "title": "(0001)-Oriented Single-Crystal-Like Porous ZnO on ITO Substrates via Quasi-Topotactic Transformation from (001)-Oriented Zinc Hydroxychloride Crystals", + "volume": "17", + "work_id": "qc6y573kejhurfijmya7gmymeq" +} diff --git a/tests/data/release/c43itb7esjc3heb64xbohigqge b/tests/data/release/c43itb7esjc3heb64xbohigqge new file mode 100644 index 0000000..7f975ab --- /dev/null +++ b/tests/data/release/c43itb7esjc3heb64xbohigqge @@ -0,0 +1,20 @@ +{ + "abstracts": [], + "contribs": [], + "ext_ids": { + "doi": "10.1021/acs.cgd.7b00396.s001" + }, + "extra": { + "crossref": { + "type": "component" + } + }, + "ident": "c43itb7esjc3heb64xbohigqge", + "publisher": "American Chemical Society (ACS)", + "refs": [], + "release_type": "component", + "revision": "728aa1ed-533d-4517-9738-384b76ae69b8", + "state": "active", + "title": "(0001)-Oriented Single-Crystal-Like Porous ZnO on ITO Substrates via Quasi-Topotactic Transformation from (001)-Oriented Zinc Hydroxychloride Crystals", + "work_id": "cum2sjlwkbazzbhf43iq3vozuu" +} diff --git a/tests/data/verify.csv b/tests/data/verify.csv index 0439292..d90dc96 100644 --- a/tests/data/verify.csv +++ b/tests/data/verify.csv @@ -148,7 +148,7 @@ pobnow7sxfhnxhltgwpru5k7oi,uplqxenmk5axjes6zokml6q73y,Status.DIFFERENT,Miss.RELE tm3gaiumkvb3xc7t3i6suna6u4,pobnow7sxfhnxhltgwpru5k7oi,Status.DIFFERENT,Miss.RELEASE_TYPE lqswbciv2vfkzit5zamjaqik6m,zularouecbg5fg4nd6yswxf3s4,Status.DIFFERENT,Miss.JSTOR_ID j6ipokw3lfflhl2de7afxhac2a,rbgpleyhanakxing2f3234d7xq,Status.AMBIGUOUS, -bruczmzvnzhtdkd2tf3meg3oou,a7wuehxrv5edpb5265qx27yvmy,Status.AMBIGUOUS, +bruczmzvnzhtdkd2tf3meg3oou,a7wuehxrv5edpb5265qx27yvmy,Status.STRONG,OK.VERSIONED_DOI tebqkxnjpzfxnpsqmt5klv2ppm,uqyjav3arngq7bqmzsllxrkpmu,Status.DIFFERENT, e3fs7ttdbrds3bvsbm7lynzlpu,vpswmj3cgfhktggwvmz33fkwuq,Status.DIFFERENT, gtsbvudmjzdeppqgzjpmfedycq,27lrseg7jfhxbdxohph7il7a7m,Status.DIFFERENT,Miss.JSTOR_ID @@ -159,3 +159,4 @@ qnblx3fetbegpe7ryt444dpkke,kokj44xkcfhxvorj7cs7rov2ku,Status.DIFFERENT,Miss.RELE vrwrf372jbd2vbwcb6fllsvhae,s43ecmng5bbqzcqhxmo7wbfsma,Status.DIFFERENT,Miss.RELEASE_TYPE 4z2amr4cizd2jexlr7uu4jxrsa,nvyd2rotrraelcuchnu6cjbxty,Status.STRONG,OK.PMID_DOI_PAIR qqsdtxm5hjadta3jf7bgt3bnm4,fupvtkn7t5d5xohffx5bt4yn24,Status.AMBIGUOUS, +6kuxfopbcjcrdnhvfokjgbd5wm,c43itb7esjc3heb64xbohigqge,Status.STRONG, -- cgit v1.2.3