adsabs / ADSImportPipeline

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

Replace logic for setting arxiv categories and databases in ArXivDirect.py with a function from ADSCachedExports #267

Open seasidesparrow opened 2 years ago

seasidesparrow commented 2 years ago

For consistency between Classic and Direct ingest, the code block starting here:

https://github.com/adsabs/ADSImportPipeline/blob/6fc1aff015ed8df51690f270868a8db7373f0e07/aip/direct/ArXivDirect.py#L123

should be replaced with a call to this function from adspy.ADSCachedExports:

https://github.com/adsabs/adspy/blob/7372ae93cea32c3dc300cb9ad8493022953bd8f0/ADSCachedExports.py#L1894