Skip to content

Commit

Permalink
citation count by id script: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanhb committed Dec 12, 2023
1 parent 96c265d commit a8a4b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/citation_count_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from collections import defaultdict

parser = argparse.ArgumentParser(description='Takes a CSV containing the list of all citations in OC INDEX expressed as OMID-OMID')
parser.add_argument('--citations', help='Path to the CSV file containing the citation count in the OpenCitations INDEX expressed as OMID > [COUNT]')
parser.add_argument('--omid', help='Path to the CSV file containing a mapping of the OMID(s) in the OpenCitations INDEX expressed as OMID > ANY-ID(s), e.g. omid:br/123,doi:10.123 pmid:2345')
parser.add_argument('--citations', required=True, help='Path to the CSV file containing the citation count in the OpenCitations INDEX expressed as OMID > [COUNT]')
parser.add_argument('--omid', required=True, help='Path to the CSV file containing a mapping of the OMID(s) in the OpenCitations INDEX expressed as OMID > ANY-ID(s), e.g. omid:br/123,doi:10.123 pmid:2345')
parser.add_argument('--id', default='doi', help='Convert OMID(s) to a given ID')
parser.add_argument('--out', default='citation_count.csv', help='Path to the output CSV file (default: citation_count.csv)')
args = parser.parse_args()
Expand Down

0 comments on commit a8a4b6e

Please sign in to comment.