openVirus icon indicating copy to clipboard operation
openVirus copied to clipboard

getpapers error when outputting mined terms summary

Open richardofsussex opened this issue 4 years ago • 0 comments

Running getpapers on a Linux Mint laptop. Simple query "(covid19)" with XML, supplementary material and mined terms requested. Got this error: info: Writing mined term summary CSV files to minedterms_summary/ /home/richard/.nvm/versions/node/v7.10.1/lib/node_modules/getpapers/lib/eupmc.js:560 terms.semanticTypeList.semanticType.forEach(function (termset) { ^

TypeError: Cannot read property 'semanticType' of undefined at /home/richard/.nvm/versions/node/v7.10.1/lib/node_modules/getpapers/lib/eupmc.js:560:27 at Array.forEach (native) at EuPmc.summariseMinedTerms (/home/richard/.nvm/versions/node/v7.10.1/lib/node_modules/getpapers/lib/eupmc.js:557:40) at EuPmc.nextDlTask (/home/richard/.nvm/versions/node/v7.10.1/lib/node_modules/getpapers/lib/eupmc.js:290:5) at donefunc (/home/richard/.nvm/versions/node/v7.10.1/lib/node_modules/getpapers/lib/download.js:36:5) at /home/richard/.nvm/versions/node/v7.10.1/lib/node_modules/getpapers/node_modules/lodash/index.js:7305:23 at fileWriteCB (/home/richard/.nvm/versions/node/v7.10.1/lib/node_modules/getpapers/lib/download.js:88:7) at FSReqWrap.oncomplete (fs.js:114:15)

richardofsussex avatar Apr 14 '20 14:04 richardofsussex