This error breaks calls of oami_pmc_pmcid_import by way of seq .
If there is no DOI, it should just skip the article.
echo 3515051 | ./oami_pmc_pmcid_import
Input PMCIDs, delimited by whitespace: Removing “/home/daniel/.cache/open-access-media-importer/metadata/raw/pmc_pmcid/efetch.fcgi0” … done.
Removing “/home/daniel/.cache/open-access-media-importer/metadata/raw/pmc_pmcid/efetch.fcgi1” … done.
Removing “/home/daniel/.cache/open-access-media-importer/metadata/raw/pmc_pmcid/efetch.fcgi2” … done.
Downloading “http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pmc&id=3515051”, saving into directory “/home/daniel/.cache/open-access-media-importer/metadata/raw/pmc_pmcid” …
100% |##########################################################################################################################################################################################################|
Oman Medical Journal 2012
Abstracts 3rd Pan-Arab Rhinology Society Conference
No or element found in XML.
/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py:463: SAWarning: Unicode type received non-unicode bind param value.
param.append(processorskey)
Traceback (most recent call last):
File "./oa-cache", line 233, in
doi_prefix = doi.split('/')[0]
AttributeError: 'NoneType' object has no attribute 'split'
This error breaks calls of oami_pmc_pmcid_import by way of seq . If there is no DOI, it should just skip the article.
echo 3515051 | ./oami_pmc_pmcid_import Input PMCIDs, delimited by whitespace: Removing “/home/daniel/.cache/open-access-media-importer/metadata/raw/pmc_pmcid/efetch.fcgi0” … done. Removing “/home/daniel/.cache/open-access-media-importer/metadata/raw/pmc_pmcid/efetch.fcgi1” … done. Removing “/home/daniel/.cache/open-access-media-importer/metadata/raw/pmc_pmcid/efetch.fcgi2” … done. Downloading “http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pmc&id=3515051”, saving into directory “/home/daniel/.cache/open-access-media-importer/metadata/raw/pmc_pmcid” … 100% |##########################################################################################################################################################################################################| Oman Medical Journal 2012 Abstracts 3rd Pan-Arab Rhinology Society Conference No or element found in XML.
/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py:463: SAWarning: Unicode type received non-unicode bind param value.
param.append(processorskey)
Traceback (most recent call last):
File "./oa-cache", line 233, in
doi_prefix = doi.split('/')[0]
AttributeError: 'NoneType' object has no attribute 'split'