You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> metadata.add_references_to_existing_paper(267746)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/bitnami/modeldb/extract_data/metadata.py", line 684, in add_references_to_existing_paper
reference_metadata = get_reference_metadata(pmid)
File "/home/bitnami/modeldb/extract_data/metadata.py", line 623, in get_reference_metadata
reference_pmids, reference_dois = get_reference_pmids(pmid)
File "/home/bitnami/modeldb/extract_data/metadata.py", line 570, in get_reference_pmids
reference_list = doc.getElementsByTagName("ReferenceList")[0]
IndexError: list index out of range
>>>
It claims it succeeds on 267749, but there are no references added.
(It truly succeeded on others, like 267707)
The text was updated successfully, but these errors were encountered:
For 267746, there are no references added in pubmed; they were in an attached docx in supplementary material. For 267749, there were 30+ references but no pubmed IDs were included, which is why they weren't pulled
For pulling from crossref, I don't know if we discarded the idea because we wanted to first finish accurate pubmed pulls or because we ran into issues. It seems potentially possible if you loop over the 'key's under 'reference' and pull the DOIs for each one?
e.g. https://modeldb.science/citations/267746
It claims it succeeds on 267749, but there are no references added.
(It truly succeeded on others, like 267707)
The text was updated successfully, but these errors were encountered: