diff --git a/scholia/__main__.py b/scholia/__main__.py index 1450d46b..07c318b7 100644 --- a/scholia/__main__.py +++ b/scholia/__main__.py @@ -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 @@ -48,7 +49,7 @@ def main(): if arguments['arxiv-to-quickstatements']: arxiv_id = arguments[''] 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']: