From 013d873c73f374f968559b6b70d9c2575b6dc47e Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 26 Dec 2019 15:36:04 +0100 Subject: datacite: add missing --extid-map-file flag --- python/fatcat_import.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python') diff --git a/python/fatcat_import.py b/python/fatcat_import.py index 90bb01a1..c6c74bc2 100755 --- a/python/fatcat_import.py +++ b/python/fatcat_import.py @@ -173,6 +173,7 @@ def run_datacite(args): bezerk_mode=args.bezerk_mode, debug=args.debug, lang_detect=args.lang_detect, + extid_map_file=args.extid_map_file, insert_log_file=args.insert_log_file) if args.kafka_mode: KafkaJsonPusher(fci, args.kafka_hosts, args.kafka_env, "api-datacite", @@ -461,6 +462,9 @@ def main(): sub_datacite.add_argument('issn_map_file', help="ISSN to ISSN-L mapping file", default=None, type=argparse.FileType('r')) + sub_datacite.add_argument('--extid-map-file', + help="DOI-to-other-identifiers sqlite3 database", + default=None, type=str) sub_datacite.add_argument('--kafka-mode', action='store_true', help="consume from kafka topic (not stdin)") -- cgit v1.2.3