From c24a14a896846146b29b6233e10f5b59d5fadb5e Mon Sep 17 00:00:00 2001 From: Lucas Czech Date: Thu, 1 Aug 2024 17:24:48 -0400 Subject: [PATCH] Fix test script for new window averaging option handling --- test/grenedalf/fst.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/grenedalf/fst.sh b/test/grenedalf/fst.sh index dc5a781..d1cd1af 100755 --- a/test/grenedalf/fst.sh +++ b/test/grenedalf/fst.sh @@ -14,6 +14,11 @@ GRENEDALF="${SCRIPT_DIR}/../../bin/grenedalf" mkdir -p fst mkdir -p logs +# Special case for our unbiased methods, where we need to set the window averaging policy +if [[ "$method" == unbiased-* ]]; then + method="${method} --window-average-policy window-length" +fi + echo "Start `date`" START=$(date +%s.%N) @@ -23,7 +28,6 @@ ${GRENEDALF} fst \ --window-interval-width ${windowsize} \ --pool-sizes ${poolsizes} \ --method ${method} \ - --window-average-policy "window-length" \ --no-extra-columns \ --out-dir "fst" \ --file-suffix "-${outid}" \