adsabs / ADSImportPipeline

Data ingest pipeline for ADS classic->ADS+
GNU General Public License v3.0
1 stars 12 forks source link

Do not create eid field for records with tmp bibcodes #234

Open ehenneken opened 4 years ago

ehenneken commented 4 years ago

Correct import pipeline not to create the eid field for records with tmp bibcodes. Example: 2019MNRAS.tmpL.175B. Currently this results in the following export:

\bibitem[\protect\citeauthoryear{Balashev \& Kosenko}{2019}]{2019MNRAS.tmpL.175B} Balashev S.~A., Kosenko D.~N., 2019, MNRAS.tmp, L175

which is meaningless. By not creating the edit the export service will be signaled to do something else.

aaccomazzi commented 4 years ago

Best to fix in adspy/ADSCachedExports.py ingest by not creating a <page> element in the exported XML