Skip to content

Commit

Permalink
Merge pull request #48 from sousinha1997/121-quisby-fixes
Browse files Browse the repository at this point in the history
auto_hpl fixes
  • Loading branch information
sousinha97 authored Jan 21, 2024
2 parents 200bd5a + efe3fb6 commit d836304
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions quisby/benchmarks/auto_hpl/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def extract_auto_hpl_data(path, system_name):
file_data = file.readlines()

if len(file_data) > 1:
header_row = file_data[0].strip().split(":")
data_row = file_data[1].strip().split(":")
header_row = file_data[-2].strip().split(":")
data_row = file_data[-1].strip().split(":")

data_dict = {}
for key, value in zip(header_row, data_row):
Expand All @@ -27,4 +27,5 @@ def extract_auto_hpl_data(path, system_name):
return results

else:
return None
return None

0 comments on commit d836304

Please sign in to comment.