From c0beca05ce011e0ec0d9b56419082e0f91acd4a0 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 3 Apr 2020 15:52:15 +0200 Subject: [PATCH] jenkinsfile --- createWERandSRRFiles.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/createWERandSRRFiles.py b/createWERandSRRFiles.py index 9a94e21..9b91b3c 100644 --- a/createWERandSRRFiles.py +++ b/createWERandSRRFiles.py @@ -1,8 +1,8 @@ import re import csv -wer = open("wer.txt","w") -ssr = open("ssr.txt","w") +wer = open("wer.txt","a") +ssr = open("ssr.txt","a") lastId = "" @@ -37,7 +37,7 @@ ssr.close() with open('wikiniews_results.tsv','r') as f_in: - with open('wikiniews_resultsWithAdditionalColumn.tsv', 'w') as f_out: + with open('wikiniews_resultsWithAdditionalColumn.tsv', 'a') as f_out: writer = csv.writer(f_out, delimiter=' ', lineterminator='\n') reader = csv.reader(f_in, delimiter=' ')