From ca956fc8b686adc3198eff58bbc8e32e13f9ec47 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 29 May 2019 13:46:52 -0700 Subject: faster LargeFile XML importer for PubMed --- python/fatcat_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/fatcat_import.py') diff --git a/python/fatcat_import.py b/python/fatcat_import.py index 21e40750..d76f706f 100755 --- a/python/fatcat_import.py +++ b/python/fatcat_import.py @@ -40,7 +40,7 @@ def run_pubmed(args): raise NotImplementedError #KafkaBs4XmlPusher(pi, args.kafka_hosts, args.kafka_env, "api-pubmed", "fatcat-import").run() else: - Bs4XmlFilePusher(pi, args.xml_file, "PubmedArticle").run() + Bs4XmlLargeFilePusher(pi, args.xml_file, "PubmedArticle", record_list_tag="PubmedArticleSet").run() def run_jstor(args): ji = JstorImporter(args.api, -- cgit v1.2.3