Skip to content

Commit

Permalink
Support multiple related content on same type (#145)
Browse files Browse the repository at this point in the history
* upgraded pytest

* Support multiple related content in same type

* converted func to iterable

* changed as iterable 'iter_elife_manuscript_part_of_section_complement_for_each_record'

* sorted complement output

* updated complement type as not optional
  • Loading branch information
HazalCiplak authored Apr 23, 2024
1 parent 26d6e65 commit 6a9a770
Show file tree
Hide file tree
Showing 12 changed files with 1,227 additions and 149 deletions.
362 changes: 362 additions & 0 deletions data/docmaps/regression_test/docmap_by_manuscript_id/80984.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@
],
"published": "2023-04-11T14:00:00+00:00",
"volumeIdentifier": "12",
"electronicArticleIdentifier": "RP86628"
"electronicArticleIdentifier": "RP86628",
"complement": []
}
}
]
Expand Down Expand Up @@ -454,7 +455,8 @@
],
"published": "2023-04-11T14:00:00+00:00",
"volumeIdentifier": "12",
"electronicArticleIdentifier": "RP86628"
"electronicArticleIdentifier": "RP86628",
"complement": []
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@
],
"published": "2023-07-13T14:00:00+00:00",
"volumeIdentifier": "12",
"electronicArticleIdentifier": "RP86873"
"electronicArticleIdentifier": "RP86873",
"complement": []
}
}
]
Expand Down Expand Up @@ -532,7 +533,8 @@
],
"published": "2023-07-13T14:00:00+00:00",
"volumeIdentifier": "12",
"electronicArticleIdentifier": "RP86873"
"electronicArticleIdentifier": "RP86873",
"complement": []
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@
],
"published": "2023-07-13T14:00:00+00:00",
"volumeIdentifier": "12",
"electronicArticleIdentifier": "RP87193"
"electronicArticleIdentifier": "RP87193",
"complement": []
}
}
]
Expand Down Expand Up @@ -628,7 +629,8 @@
],
"published": "2023-07-13T14:00:00+00:00",
"volumeIdentifier": "12",
"electronicArticleIdentifier": "RP87193"
"electronicArticleIdentifier": "RP87193",
"complement": []
}
}
]
Expand Down
Loading

0 comments on commit 6a9a770

Please sign in to comment.