jenkinsfile
This commit is contained in:
parent
b743320aa4
commit
cfa969f03b
@ -35,9 +35,7 @@ ssr.write(str(float(ssrCounter)/float(counter) * 100) + "%")
|
|||||||
wer.close()
|
wer.close()
|
||||||
ssr.close()
|
ssr.close()
|
||||||
|
|
||||||
kk = open("wikiniews_results2.tsv","w")
|
counter = 0
|
||||||
kk.close()
|
|
||||||
|
|
||||||
with open('wikiniews_results.tsv','r') as f_in:
|
with open('wikiniews_results.tsv','r') as f_in:
|
||||||
with open('wikiniews_results2.tsv', 'w') as f_out:
|
with open('wikiniews_results2.tsv', 'w') as f_out:
|
||||||
writer = csv.writer(f_out, delimiter=' ', lineterminator='\n')
|
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
|
# add new header to list of headers
|
||||||
row.append('Col5')
|
row.append('Col5')
|
||||||
result.append(row)
|
result.append(row)
|
||||||
counter = 0
|
|
||||||
for row in reader:
|
for row in reader:
|
||||||
# add new column values
|
# add new column values
|
||||||
row.append(werArray[counter])
|
row.append(werArray[counter])
|
||||||
|
Loading…
Reference in New Issue
Block a user