Error when running toNCBI
root@0f0f52b53530:~# APP_NAME=to-ncbi node --harmony-promise-finally server/ncbi-integration/toNcbi
info: ncbi check in 10 ms
info: Sending package EMS82119 to ncbi FTP location.
info: Done updating EMS82119.
info: Sending package EMS83198 to ncbi FTP location.
error: message=Cannot read property 'find' of null, stack=TypeError: Cannot read property 'find' of null
at createManifest (/home/xpub/server/ncbi-integration/toNcbi.js:136:28)
at getFiles.then (/home/xpub/server/ncbi-integration/toNcbi.js:46:17)
at <anonymous>
info: About to close database connection
info: ncbi-integration/toNcbi: closing connection to the database...
The problem ocurrs when the submission has no article IDs (no PMID, PMCID, or DOI)