diff options
| author | jules@lens <julescarbon@gmail.com> | 2018-11-03 17:22:14 +0100 |
|---|---|---|
| committer | jules@lens <julescarbon@gmail.com> | 2018-11-03 17:22:14 +0100 |
| commit | 84e781ff9b41f6ad04a5c66024fd47efa5b39bbc (patch) | |
| tree | 3fefd5dfa99d9611a9e2fe759a8cb1279e333b29 /s2-dump-ids.py | |
| parent | 8ec3acdb68f0107ae2520516817aeda66c6ed9a6 (diff) | |
edits
Diffstat (limited to 's2-dump-ids.py')
| -rw-r--r-- | s2-dump-ids.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/s2-dump-ids.py b/s2-dump-ids.py index 66ff6d77..3218738a 100644 --- a/s2-dump-ids.py +++ b/s2-dump-ids.py @@ -17,8 +17,10 @@ def s2_dump_ids(): write_json('ids.json', id_list) def process_paper(fn, ids): + print(fn) with open(fn, 'r') as f: data = json.load(f) + print(data['paperId']) ids[data['paperId']] = True for cite in data['citations']: ids[cite['paperId']] = True |
