Skip to content

Commit 8bd08f8

Browse files
committed
Removed json dump
1 parent 8c35454 commit 8bd08f8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

examples/tools/hunting-anomalies/build-lookup-table.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,6 @@
8484
# Convert defaultdict to regular dict for JSON serialization
8585
lookup_table_dict = {k: v for k, v in lookup_table.items()}
8686

87-
# Save the lookup table to a JSON file
88-
with open("lookup_table.json", "w") as f:
89-
json.dump(lookup_table_dict, f, indent=4)
90-
91-
print("Lookup table saved to 'lookup_table.json'.")
92-
9387
# Save the lookup table to a file for later use
9488
with open("lookup_table.pkl", "wb") as f: # type: BinaryIO
9589
pickle.dump(lookup_table_dict, f)

0 commit comments

Comments
 (0)