Skip to content

Commit

Permalink
fix(jats): extract id and label of author notes separately
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Apr 28, 2024
1 parent f036307 commit b5562c5
Show file tree
Hide file tree
Showing 27 changed files with 459 additions and 77 deletions.
6 changes: 6 additions & 0 deletions src/codecs/elife/__file_snapshots__/45123.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ authors:
- Lozano-Ureña
givenNames:
- Anna
meta:
notes:
- rid: conf1
- type: Person
affiliations:
- type: Organization
Expand Down Expand Up @@ -49,6 +52,9 @@ authors:
- type: PropertyValue
propertyID: https://registry.identifiers.org/registry/orcid
value: http://orcid.org/0000-0003-0854-8575
meta:
notes:
- rid: conf1
dateAccepted:
type: Date
value: '2019-02-15'
Expand Down
44 changes: 43 additions & 1 deletion src/codecs/elife/__file_snapshots__/46793.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ authors:
- type: PropertyValue
propertyID: https://registry.identifiers.org/registry/orcid
value: https://orcid.org/0000-0002-4997-0150
meta:
notes:
- rid: equal-contrib1
label:
- rid: con1
- rid: conf1
- type: Person
affiliations:
- type: Organization
Expand All @@ -35,6 +41,12 @@ authors:
givenNames:
- Darcie
- S
meta:
notes:
- rid: equal-contrib1
label:
- rid: con2
- rid: conf1
- type: Person
affiliations:
- type: Organization
Expand All @@ -54,6 +66,10 @@ authors:
- type: PropertyValue
propertyID: https://registry.identifiers.org/registry/orcid
value: https://orcid.org/0000-0002-1501-2106
meta:
notes:
- rid: con3
- rid: conf1
- type: Person
affiliations:
- type: Organization
Expand All @@ -71,6 +87,10 @@ authors:
- type: PropertyValue
propertyID: https://registry.identifiers.org/registry/orcid
value: https://orcid.org/0000-0001-9806-2805
meta:
notes:
- rid: con4
- rid: conf1
- type: Person
affiliations:
- type: Organization
Expand All @@ -91,6 +111,10 @@ authors:
- type: PropertyValue
propertyID: https://registry.identifiers.org/registry/orcid
value: https://orcid.org/0000-0002-7321-1867
meta:
notes:
- rid: con5
- rid: conf1
- type: Person
affiliations:
- type: Organization
Expand All @@ -103,6 +127,10 @@ authors:
- Erard
givenNames:
- Nicolas
meta:
notes:
- rid: con6
- rid: conf1
- type: Person
affiliations:
- type: Organization
Expand All @@ -120,6 +148,10 @@ authors:
- type: PropertyValue
propertyID: https://registry.identifiers.org/registry/orcid
value: https://orcid.org/0000-0003-4021-3898
meta:
notes:
- rid: con7
- rid: conf2
- type: Person
affiliations:
- type: Organization
Expand All @@ -136,6 +168,10 @@ authors:
- type: PropertyValue
propertyID: https://registry.identifiers.org/registry/orcid
value: https://orcid.org/0000-0002-3811-6864
meta:
notes:
- rid: con8
- rid: conf1
- type: Person
affiliations:
- type: Organization
Expand Down Expand Up @@ -172,6 +208,10 @@ authors:
- type: PropertyValue
propertyID: https://registry.identifiers.org/registry/orcid
value: https://orcid.org/0000-0002-0281-5815
meta:
notes:
- rid: con9
- rid: conf3
dateAccepted:
type: Date
value: '2019-06-17'
Expand Down Expand Up @@ -9140,7 +9180,9 @@ references:
title: Genetic interactions of G-quadruplexes in humans
meta:
authorNotes:
- † These authors contributed equally to this work
- id: equal-contrib1
label:
text: These authors contributed equally to this work
content:
- type: Heading
id: s1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,15 @@
],
"givenNames": [
"Tianze"
]
],
"meta": {
"notes": [
{
"rid": "n1",
"label": "*"
}
]
}
},
{
"type": "Person",
Expand All @@ -64,7 +72,15 @@
],
"givenNames": [
"Jing"
]
],
"meta": {
"notes": [
{
"rid": "n1",
"label": "*"
}
]
}
},
{
"type": "Person",
Expand Down Expand Up @@ -3928,7 +3944,11 @@
"title": "Aging-related iron deposit prevents the benefits of HRT from late postmenopausal atherosclerosis",
"meta": {
"authorNotes": [
"* Tianze Xu and Jing Cai contributed equally to this work"
{
"id": "n1",
"label": "*",
"text": "Tianze Xu and Jing Cai contributed equally to this work"
}
]
},
"content": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,15 @@
],
"givenNames": [
"Valentin"
]
],
"meta": {
"notes": [
{
"rid": "n1",
"label": "8"
}
]
}
},
{
"type": "Person",
Expand Down Expand Up @@ -99,7 +107,15 @@
],
"givenNames": [
"Vanessa"
]
],
"meta": {
"notes": [
{
"rid": "n2",
"label": ""
}
]
}
},
{
"type": "Person",
Expand All @@ -118,7 +134,15 @@
],
"givenNames": [
"Paul"
]
],
"meta": {
"notes": [
{
"rid": "n2",
"label": ""
}
]
}
},
{
"type": "Person",
Expand All @@ -145,7 +169,15 @@
],
"givenNames": [
"Hélène"
]
],
"meta": {
"notes": [
{
"rid": "n2",
"label": ""
}
]
}
},
{
"type": "Person",
Expand All @@ -164,7 +196,15 @@
],
"givenNames": [
"Zhicheng"
]
],
"meta": {
"notes": [
{
"rid": "n2",
"label": ""
}
]
}
},
{
"type": "Person",
Expand Down Expand Up @@ -240,7 +280,15 @@
],
"givenNames": [
"Hang-Phuong"
]
],
"meta": {
"notes": [
{
"rid": "n1",
"label": "8"
}
]
}
},
{
"type": "Person",
Expand Down Expand Up @@ -6667,8 +6715,16 @@
],
"meta": {
"authorNotes": [
"8 Present Institution: Parean biotechnologies, Saint-Malo, France",
"† These authors, listed in alphabetical order, have contributed equally"
{
"id": "n1",
"label": "8",
"text": "Present Institution: Parean biotechnologies, Saint-Malo, France"
},
{
"id": "n2",
"label": "",
"text": "These authors, listed in alphabetical order, have contributed equally"
}
]
},
"content": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,15 @@
"givenNames": [
"Phuong",
"T."
]
],
"meta": {
"notes": [
{
"rid": "n1",
"label": ""
}
]
}
},
{
"type": "Person",
Expand All @@ -66,7 +74,15 @@
"givenNames": [
"Hai",
"M."
]
],
"meta": {
"notes": [
{
"rid": "n1",
"label": ""
}
]
}
},
{
"type": "Person",
Expand Down Expand Up @@ -7537,7 +7553,11 @@
],
"meta": {
"authorNotes": [
"† These authors contributed equally to this work."
{
"id": "n1",
"label": "",
"text": "These authors contributed equally to this work."
}
]
},
"content": [
Expand Down
Loading

0 comments on commit b5562c5

Please sign in to comment.