From 979cbc061f72565f36164c017085e60c0f85e2b8 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 3 Apr 2020 14:59:01 +0200 Subject: [PATCH] jenkinsfile --- createWERandSRRFiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createWERandSRRFiles.py b/createWERandSRRFiles.py index 2d228c1..8598e8b 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 = ((float(helper[0]))/(float(sum))) * 100 print(sum) globalPercent += sum counter += 1