Skip to content

Commit

Permalink
fix omid id bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanhb committed Feb 18, 2025
1 parent e5f4f00 commit 556efeb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/cnc.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,12 @@ def normalize_dump(service, input_files, output_dir, newdump = False):
# check if both citing and cited entities have omid
if citing_omid != None and cited_omid != None:

citing_omid = citing_omid.decode("utf-8")
cited_omid = cited_omid.decode("utf-8")
oci_omid = citing_omid+"-"+cited_omid
citing_omid = "br/"+citing_omid.decode("utf-8")
cited_omid = "br/"+cited_omid.decode("utf-8")

citing_omid = "br/"+citing_omid
cited_omid = "br/"+cited_omid

index_ocis[oci_omid] = (citing_omid,cited_omid)

Expand Down

0 comments on commit 556efeb

Please sign in to comment.