Skip to content

Commit

Permalink
Merge branch '2505-command-line-arxiv-to-quickstatements-fails'
Browse files Browse the repository at this point in the history
  • Loading branch information
fnielsen committed May 29, 2024
2 parents bf53551 + f509961 commit 916ec7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scholia/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import os

from . import arxiv
from .qs import paper_to_quickstatements
from .query import orcid_to_qs
from .utils import string_to_type

Expand All @@ -48,7 +49,7 @@ def main():
if arguments['arxiv-to-quickstatements']:
arxiv_id = arguments['<arxiv>']
metadata = arxiv.get_metadata(arxiv_id)
quickstatements = arxiv.metadata_to_quickstatements(metadata)
quickstatements = paper_to_quickstatements(metadata)
os.write(output_file, quickstatements.encode(output_encoding))

elif arguments['orcid-to-q']:
Expand Down

0 comments on commit 916ec7f

Please sign in to comment.