Skip to content

Commit

Permalink
citation count converter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanhb committed Jul 11, 2024
1 parent e4c8e14 commit 2082006
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/citation_count_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def read_omid_map(f_omidmap):
for _id in anyids.split("; "):
for anyid_pref in ANYID:
if _id.startswith(anyid_pref):
omid_map[br_omid].add( _id.replace(anyid_pref+":","") )
omid_map[br_omid].add( _id )

return omid_map

Expand Down Expand Up @@ -131,7 +131,8 @@ def main():
any_id = None
for __anyid in s_any_id:
if __anyid.startswith(anyid_pref):
any_id = __anyid
any_id = __anyid.replace(anyid_pref+":","")
break

# check in case this any_id was already processed we need to dissambiguate
if any_id:
Expand Down

0 comments on commit 2082006

Please sign in to comment.