From bbd9d9037b41203d69367e65366c2303c387e7b4 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Mon, 7 Nov 2022 20:15:04 +0100 Subject: [PATCH] Changed progress bar behaviour --- sw/decoders/utility.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sw/decoders/utility.py b/sw/decoders/utility.py index 8caf553..83da734 100644 --- a/sw/decoders/utility.py +++ b/sw/decoders/utility.py @@ -68,6 +68,7 @@ def test_decoder(encoder: typing.Any, BERs = [] for SNR in tqdm(SNRs, desc="Calculating Bit-Error-Rates", position=0, + leave=False, bar_format="{l_bar}{bar}| {n_fmt}/{total_fmt}"): total_bit_errors = 0