jenkinsfile

This commit is contained in:
unknown 2020-04-03 15:36:54 +02:00
parent b743320aa4
commit cfa969f03b

View File

@ -35,9 +35,7 @@ ssr.write(str(float(ssrCounter)/float(counter) * 100) + "%")
wer.close()
ssr.close()
kk = open("wikiniews_results2.tsv","w")
kk.close()
counter = 0
with open('wikiniews_results.tsv','r') as f_in:
with open('wikiniews_results2.tsv', 'w') as f_out:
writer = csv.writer(f_out, delimiter=' ', lineterminator='\n')
@ -49,7 +47,7 @@ with open('wikiniews_results.tsv','r') as f_in:
# add new header to list of headers
row.append('Col5')
result.append(row)
counter = 0
for row in reader:
# add new column values
row.append(werArray[counter])