jenkinsfile
This commit is contained in:
parent
cfa969f03b
commit
559229f882
@ -35,7 +35,7 @@ ssr.write(str(float(ssrCounter)/float(counter) * 100) + "%")
|
||||
wer.close()
|
||||
ssr.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')
|
||||
@ -48,10 +48,11 @@ with open('wikiniews_results.tsv','r') as f_in:
|
||||
row.append('Col5')
|
||||
result.append(row)
|
||||
|
||||
cc = 0
|
||||
for row in reader:
|
||||
# add new column values
|
||||
row.append(werArray[counter])
|
||||
counter += 1
|
||||
cc += 1
|
||||
result.append(row)
|
||||
|
||||
writer.writerows(result)
|
Loading…
Reference in New Issue
Block a user