Closed seasidesparrow closed 6 months ago
Describe the bug The CrossrefParser _parse_contrib method (https://github.com/adsabs/ADSIngestParser/blob/9dd796b094256f1596323ea38bda78d2ad01e771/adsingestp/parsers/crossref.py#L243) will throw an exception if the record has no <contributors> tag.
<contributors>
To Reproduce Try to fetch and parse the record for doi = 10.4213/im9580e. Parsing will fail to produce output with the error message 'NoneType' object has no attribute 'extract'.
10.4213/im9580e
'NoneType' object has no attribute 'extract'
Fixed by #111
Describe the bug The CrossrefParser _parse_contrib method (https://github.com/adsabs/ADSIngestParser/blob/9dd796b094256f1596323ea38bda78d2ad01e771/adsingestp/parsers/crossref.py#L243) will throw an exception if the record has no
<contributors>
tag.To Reproduce Try to fetch and parse the record for doi =
10.4213/im9580e
. Parsing will fail to produce output with the error message'NoneType' object has no attribute 'extract'
.