From b6d97f9f625e7074726b911e6a03e606870f4039 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 3 Nov 2018 18:18:43 +0100 Subject: fn --- s2-raw-papers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 's2-raw-papers.py') diff --git a/s2-raw-papers.py b/s2-raw-papers.py index 86ec8710..623f518f 100644 --- a/s2-raw-papers.py +++ b/s2-raw-papers.py @@ -14,8 +14,8 @@ s2 = SemanticScholarAPI() @click.command() @click.option('--fn', '-i', default='missing.csv', help='Filename of CSV.') -def fetch_raw_papers(paper_ids_fn): - lines = read_csv(paper_ids_fn, keys=False) +def fetch_raw_papers(fn): + lines = read_csv(fn, keys=False) for line in lines: paper_id = line[0] fetch_raw_paper(paper_id) -- cgit v1.2.3-70-g09d2