summaryrefslogtreecommitdiffstats
path: root/python/fatcat_import.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_import.py')
-rwxr-xr-xpython/fatcat_import.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_import.py b/python/fatcat_import.py
index a47aa175..8d952067 100755
--- a/python/fatcat_import.py
+++ b/python/fatcat_import.py
@@ -24,7 +24,7 @@ def run_orcid(args):
def run_journal_metadata(args):
fii = JournalMetadataImporter(args.api,
edit_batch_size=args.batch_size)
- CsvLinePusher(fii, args.csv_file).run()
+ JsonLinePusher(fii, args.json_file).run()
def run_matched(args):
fmi = MatchedImporter(args.api,
@@ -93,8 +93,8 @@ def main():
func=run_journal_metadata,
auth_var="FATCAT_AUTH_WORKER_JOURNAL_METADATA",
)
- sub_journal_metadata.add_argument('csv_file',
- help="Journal ISSN CSV metadata file to import from (or stdin)",
+ sub_journal_metadata.add_argument('json_file',
+ help="Journal JSON metadata file to import from (or stdin)",
default=sys.stdin, type=argparse.FileType('r'))
sub_journal_metadata.add_argument('--batch-size',
help="size of batch to send",