From 8b65f2e88cb7ca4daa3b32a0c709064e41e15f60 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 3 Apr 2020 14:29:27 +0200 Subject: [PATCH] jenkinsfile --- createWERandSRRFiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createWERandSRRFiles.py b/createWERandSRRFiles.py index aaf407f..ce74425 100644 --- a/createWERandSRRFiles.py +++ b/createWERandSRRFiles.py @@ -7,7 +7,7 @@ with open("helper.txt", "r") as f: if re.match(r'^id:.*', line): wer.write(line + " = ") elif re.match(r'^Scores:.*', line): - helper = line.replace("Scores: \(#C #S #D #I\) ", "").split() + helper = line.replace(r"Scores: \(#C #S #D #I\) ", "").split() sum = helper[0] + helper[1] + helper[2] + helper[3] wer.write(str((int(helper[0])/int(sum)) * 100) + "%\n")