Closed gnott closed 4 years ago
I will also mention, I didn't add an exception handling around getting the registries XML, so I guess we'd rely on the exception being caught upstream from this. A possible addition could be to check the status_code
of the GET
and log some things here.
Re issue https://github.com/elifesciences/elife-crossref-feed/issues/146
CrossMark program, if the depositor is participating, can also accept clinical trial data in the
<custom_meta>
tag of the Crossref deposit.The
ClinicalTrial
object will be populated when article XML is parsed.The
elifecrossref/clinical_trials.py
module is new, which includesIn order to download the registries XML from Crossref,
requests
library is now a requirement for this library.The hook to add clinical trials is added to the
elifecrossref/crossmark.py
module.There are tests to cover
crossref-doi
as itssource_id_type
)