diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-11-03 17:23:03 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-11-03 17:23:03 +0100 |
| commit | 165aa0f4db22d4cc0fc71dd76baa58051d7503ed (patch) | |
| tree | 89e0886c12742df2169187bf3ab7c7434a15e0f7 /s2-dump-ids.py | |
| parent | 0dbbb932c727a09ecc88d59609cd7031aac85385 (diff) | |
readme
Diffstat (limited to 's2-dump-ids.py')
| -rw-r--r-- | s2-dump-ids.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/s2-dump-ids.py b/s2-dump-ids.py index 66ff6d77..7b424787 100644 --- a/s2-dump-ids.py +++ b/s2-dump-ids.py @@ -24,7 +24,7 @@ def process_paper(fn, ids): ids[cite['paperId']] = True def paper_path(paper_id): - return '{}/{}/{}'.format(DATA_DIR, paper_id[0:3], paper_id) + return '{}/{}/{}'.format(DATA_DIR, paper_id[0:2], paper_id) if __name__ == '__main__': s2_dump_ids() |
