Skip to content

Commit

Permalink
Merge pull request #25 from stvoutsin/main
Browse files Browse the repository at this point in the history
Bugfix for cell output validation
  • Loading branch information
stvoutsin authored Feb 25, 2022
2 parents 8814173 + 411becc commit 1f6bc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aglais_benchmark/aglais_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ def _run_single(self, iterable=0, concurrent=False):
for i, cell in enumerate(output):
md5hash = hashlib.md5(str(cell).encode('utf-8')).hexdigest()
if md5hash != expected_output.get(str(i),""):
valid = "FALSE"
if expected_output.get(str(i),"")!="":
valid = "FALSE"
msg += "Expected/Actual output missmatch of cell #" + str(i) + "! "

results[name] = {"totaltime" : "{:.2f}".format(totaltime), "status" : status, "msg" : msg, "valid" : valid }
Expand Down

0 comments on commit 1f6bc97

Please sign in to comment.