Forgot to update function names in bmc.py
This commit is contained in:
parent
2d949dd299
commit
0fb579a58c
6
bmc.py
6
bmc.py
@ -102,7 +102,7 @@ def addFile(src, filetype, manual, autoconfirm, tag):
|
|||||||
if not manual:
|
if not manual:
|
||||||
try:
|
try:
|
||||||
if filetype == 'article' or filetype is None:
|
if filetype == 'article' or filetype is None:
|
||||||
id_type, article_id = fetcher.findID(src)
|
id_type, article_id = fetcher.findArticleID(src)
|
||||||
if id_type == "DOI":
|
if id_type == "DOI":
|
||||||
doi = article_id
|
doi = article_id
|
||||||
elif id_type == "arXiv":
|
elif id_type == "arXiv":
|
||||||
@ -340,7 +340,7 @@ def resync():
|
|||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
if 'doi' in list(entry.keys()):
|
if 'doi' in list(entry.keys()):
|
||||||
doi = fetcher.findID(filename, only=["DOI"])
|
doi = fetcher.findArticleID(filename, only=["DOI"])
|
||||||
if doi is not False and doi != entry['doi']:
|
if doi is not False and doi != entry['doi']:
|
||||||
loop = tools.rawInput("Found DOI does not " +
|
loop = tools.rawInput("Found DOI does not " +
|
||||||
"match bibtex entry " +
|
"match bibtex entry " +
|
||||||
@ -348,7 +348,7 @@ def resync():
|
|||||||
"? [y/N]")
|
"? [y/N]")
|
||||||
loop = (loop.lower() != 'y')
|
loop = (loop.lower() != 'y')
|
||||||
if 'Eprint' in list(entry.keys()):
|
if 'Eprint' in list(entry.keys()):
|
||||||
arxiv = fetcher.findID(filename, only=["arXiv"])
|
arxiv = fetcher.findArticleID(filename, only=["arXiv"])
|
||||||
if arxiv is not False and arxiv != entry['Eprint']:
|
if arxiv is not False and arxiv != entry['Eprint']:
|
||||||
loop = tools.rawInput("Found arXiv id does " +
|
loop = tools.rawInput("Found arXiv id does " +
|
||||||
"not match bibtex " +
|
"not match bibtex " +
|
||||||
|
Loading…
Reference in New Issue
Block a user