From 9dd16a0ab3c0920672e28f63f5d916029247001d Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 3 Apr 2020 14:05:28 +0200 Subject: [PATCH] jenkinsfile --- createWERandSRRFiles.py | 4 ++-- metrics.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/createWERandSRRFiles.py b/createWERandSRRFiles.py index f61ed3c..2892cf4 100644 --- a/createWERandSRRFiles.py +++ b/createWERandSRRFiles.py @@ -1,2 +1,2 @@ -txt = input() -print(txt) \ No newline at end of file +file = open("helper.txt", "r") +print(txt.read()) \ No newline at end of file diff --git a/metrics.sh b/metrics.sh index bccc99d..88a70ae 100644 --- a/metrics.sh +++ b/metrics.sh @@ -8,6 +8,6 @@ awk 'BEGIN{FS=OFS="\t"}{print $0,"(sp1_"NR")"}' < hypothesis.txt > hypothesis.tr sclite -f 0 -r reference.trn trn -h hypothesis.trn trn -e utf-8 -i rm -o all stdout > helper.txt -python ./createWERandSRRFiles.py < helper.txt +python ./createWERandSRRFiles.py