Skip to content

Commit

Permalink
remove debugging print
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Apr 21, 2024
1 parent e69524c commit 354634e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/imrs_monthly_ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ def parse_imrs(line):

print("Found " + str(len(clusters)) + " clusters, " + str(nb_files) + " files.")

for cluster_id in clusters:
for file_name in clusters[cluster_id]:
print(cluster_id + ", " + file_name)
pass

id_list = sorted(list(clusters.keys()))

with open(output_file, "w") as F:
Expand All @@ -107,7 +102,7 @@ def parse_imrs(line):
nb_queries += count
if is_instances:
file_parts = file_name.split("_")
instance_id = parts[0]
instance_id = file_parts[0]
F.write(cluster_id + "," + instance_id + "," + str(nb_ip) + "," + str(nb_queries) + ",\n")
total_queries += nb_queries
total_ip = len(ip_list)
Expand Down

0 comments on commit 354634e

Please sign in to comment.