adsabs / ADSIngestParser

Curation parser library
MIT License
0 stars 7 forks source link

ELSEVIER: JHEAp not parsing #58

Open csgrant00 opened 1 year ago

csgrant00 commented 1 year ago

python run.py -p "/proj/ads/abstracts/data/ELS/CONSYN.AST/2023/ELS.080723/2214-4048//S2214404823X00032/S2214404823000368/S2214404823000368.xml" -t elsevier -f elsevier.test

seasidesparrow commented 1 year ago

This is failing in ADSIngestParser: the following line will fail if the result of self.record_meta.find("ce:keywords") is None, because you cannot do the subsequent find on a NoneType.

https://github.com/adsabs/ADSIngestParser/blob/33ae877f0dc86162182f363f218927f620bdf75b/adsingestp/parsers/elsevier.py#L303