From 0c3f5f002709b1a2b931c6f1346df6866e2680cc Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 3 Apr 2020 14:57:50 +0200 Subject: [PATCH] jenkinsfile --- createWERandSRRFiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createWERandSRRFiles.py b/createWERandSRRFiles.py index a17286a..2d228c1 100644 --- a/createWERandSRRFiles.py +++ b/createWERandSRRFiles.py @@ -15,7 +15,7 @@ with open("helper.txt", "r") as f: helper = line.replace("Scores: (#C #S #D #I) ", "").split() sum = int(helper[0]) + int(helper[1]) + int(helper[2]) + int(helper[3]) print(sum) - sum = (int(helper[0])/int(sum)) * 100 + sum = ((int(helper[0]))/(int(sum))) * 100 print(sum) globalPercent += sum counter += 1