Skip to content

Commit cfeae66

Browse files
committed
Delete unnecessary parsing
1 parent d43a84e commit cfeae66

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

scripts/benchmark_graphblas-sharp.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,3 @@
2727

2828
#Copying results for uploading
2929
subprocess.call(f'rsync -a {dotnet_artifacts}/ {artifacts}', shell=True)
30-
31-
#Parsing matrix names in jsons to draw charts(FullName = matrix.mtx)
32-
json_files = [file for file in os.listdir(artifacts) if file.endswith(".json")]
33-
34-
for file in json_files:
35-
with open(artifacts / file, "r+") as file:
36-
data = json.load(file)
37-
for benchmark in data["Benchmarks"]:
38-
name_field = benchmark["FullName"]
39-
matrix_name = name_field.split(":")[-1][:-1].strip()
40-
print(matrix_name)
41-
benchmark["FullName"] = matrix_name
42-
43-
file.seek(0)
44-
json.dump(data, file)
45-
file.truncate()

0 commit comments

Comments
 (0)