aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/files/datacite/datacite_result_14.json
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-01-02 17:35:54 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-01-02 17:35:54 +0100
commit96e38edde79735b4080ec08d57e9f54759e97b61 (patch)
tree2798719086819b747adab8d48adbb0c59b5ac9f5 /python/tests/files/datacite/datacite_result_14.json
parentb87ba235c0a7da15d70c5ab7fa367d7b9c1fb981 (diff)
downloadfatcat-96e38edde79735b4080ec08d57e9f54759e97b61.tar.gz
fatcat-96e38edde79735b4080ec08d57e9f54759e97b61.zip
datacite: add conversion fixtures
The `test_datacite_conversions` function will compare an input (datacite) document to an expected output (release entity as JSON). This way, it should not be too hard to add more cases by adding: input, output - and by increasing the counter in the range loop within the test. To view input and result side by side with vim, change into the test directory and run: tests/files/datacite $ ./caseview.sh 18
Diffstat (limited to 'python/tests/files/datacite/datacite_result_14.json')
-rw-r--r--python/tests/files/datacite/datacite_result_14.json110
1 files changed, 110 insertions, 0 deletions
diff --git a/python/tests/files/datacite/datacite_result_14.json b/python/tests/files/datacite/datacite_result_14.json
new file mode 100644
index 00000000..94c00472
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_14.json
@@ -0,0 +1,110 @@
+{
+ "extra": {
+ "datacite": {
+ "subjects": [
+ {
+ "subject": "Crystal Structure"
+ },
+ {
+ "subject": "Experimental 3D Coordinates"
+ },
+ {
+ "subject": "Crystal System"
+ },
+ {
+ "subject": "Space Group"
+ },
+ {
+ "subject": "Cell Parameters"
+ },
+ {
+ "subject": "Crystallography"
+ },
+ {
+ "subject": "bis(mu~2~-5-(3,5-Di-t-butylphenyl)-15-(4-(2-(diphenylphosphino)ethynyl)phenyl)-2,8,12,18-tetrahexyl-3,7,13,17-tetramethylporphyrinato)-(5,15-bis(3,5-di-t-butylphenyl)-2,8,12,18-tetraethyl-3,7,13,17-tetramethylporphyrinato)-di-nickel-ruthenium chloroform solvate"
+ }
+ ],
+ "relations": [
+ {
+ "relationType": "IsSupplementTo",
+ "relatedIdentifier": "10.1021/ic034699w",
+ "relatedIdentifierType": "DOI"
+ }
+ ]
+ }
+ },
+ "title": "CCDC 222635: Experimental Crystal Structure Determination",
+ "release_type": "dataset",
+ "release_stage": "published",
+ "release_year": 2004,
+ "ext_ids": {
+ "doi": "10.5517/cc7gns3"
+ },
+ "publisher": "Cambridge Crystallographic Data Centre",
+ "language": "en",
+ "contribs": [
+ {
+ "index": 0,
+ "raw_name": "Stulz, E.",
+ "given_name": "E.",
+ "surname": "Stulz",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "Scott, S.M.",
+ "given_name": "S.M.",
+ "surname": "Scott",
+ "role": "author"
+ },
+ {
+ "index": 2,
+ "raw_name": "Ng, Yiu-Fai",
+ "given_name": "Yiu-Fai",
+ "surname": "Ng",
+ "role": "author"
+ },
+ {
+ "index": 3,
+ "raw_name": "Bond, A.D.",
+ "given_name": "A.D.",
+ "surname": "Bond",
+ "role": "author"
+ },
+ {
+ "index": 4,
+ "raw_name": "Teat, S.J.",
+ "given_name": "S.J.",
+ "surname": "Teat",
+ "role": "author"
+ },
+ {
+ "index": 5,
+ "raw_name": "Darling, S.L.",
+ "given_name": "S.L.",
+ "surname": "Darling",
+ "role": "author"
+ },
+ {
+ "index": 6,
+ "raw_name": "Feeder, N.",
+ "given_name": "N.",
+ "surname": "Feeder",
+ "role": "author"
+ },
+ {
+ "index": 7,
+ "raw_name": "Sanders, J.K.M.",
+ "given_name": "J.K.M.",
+ "surname": "Sanders",
+ "role": "author"
+ }
+ ],
+ "refs": [],
+ "abstracts": [
+ {
+ "content": "An entry from the Cambridge Structural Database, the world\u2019s repository for small molecule crystal structures. The entry contains experimental data from a crystal diffraction study. The deposited dataset for this entry is freely available from the CCDC and typically includes 3D coordinates, cell parameters, space group, experimental conditions and quality measures.",
+ "mimetype": "text/plain"
+ }
+ ]
+} \ No newline at end of file