For consistency between Classic and Direct ingest, the code block starting here:
|
for keyword in field.split(';'): |
should be replaced with a call to this function from adspy.ADSCachedExports:
https://github.com/adsabs/adspy/blob/7372ae93cea32c3dc300cb9ad8493022953bd8f0/ADSCachedExports.py#L1894