Skip to content

Commit

Permalink
fix cits count
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanhb committed Jul 15, 2024
1 parent 0415c7c commit e73f7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/citation_count_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def main():
logger.info("Get citations form Redis for: "+str(anyid_pref+":"+any_id)+ " (omid: "+" ".join(multi_any_ids[any_id])+")" )

#__b_cits = redis_cits.mget(multi_any_ids[any_id])
__b_cits = [_g.decode('utf-8') for _g in redis_cits.mget( list(multi_any_ids[any_id]) ) ]
__b_cits = [json.loads(_g.decode('utf-8')) for _g in redis_cits.mget( list(multi_any_ids[any_id]) ) ]

citing_omids = set()
for _g in __b_cits:
Expand Down

0 comments on commit e73f7d4

Please sign in to comment.