Skip to content

Commit

Permalink
Update CID_generation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenyueh authored Jul 10, 2023
1 parent 5a6300e commit 211a487
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CID_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def one_further_indexing(
###################################################################################
###### apply indexing method 2, no repetition in cluster nodes and leaf node ######
with open(
"c{}_{}_CF_index.json".format(number_of_clusters, maximum_cluster_size), "w"
"c{}_{}_CF_index.json".format(number_of_clusters, maximum_cluster_size), "r"
) as f:
data = json.load(f)

Expand Down Expand Up @@ -453,7 +453,7 @@ def one_further_indexing(
#####################################
###### apply indexing CID +IID ######
with open(
"c{}_{}_CF_index.json".format(number_of_clusters, maximum_cluster_size), "w"
"c{}_{}_CF_index.json".format(number_of_clusters, maximum_cluster_size), "r"
) as f:
data = json.load(f)

Expand Down

0 comments on commit 211a487

Please sign in to comment.